You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docker container that powers the generation of TechDocs static sites
2
+
3
+
This is the Docker container that powers the creation of static documentation sites that are supported by [TechDocs](https://github.com/backstage/backstage/blob/master/plugins/techdocs).
4
+
5
+
## Getting Started
6
+
7
+
Using the TechDocs CLI, we can invoke the latest version of `techdocs-container` via Docker Hub:
8
+
9
+
```bash
10
+
npx techdocs-cli serve
11
+
```
12
+
13
+
## Local Development
14
+
15
+
```bash
16
+
docker build . -t mkdocs:local-dev
17
+
18
+
docker run -w /content -v $(pwd)/mock-docs:/content -p 8000:8000 -it mkdocs:local-dev serve -a 0.0.0.0:8000
19
+
```
20
+
21
+
Then open up `http://localhost:8000` on your local machine.
22
+
23
+
## Publishing
24
+
25
+
This container is published on DockerHub - https://hub.docker.com/r/spotify/techdocs
26
+
27
+
The publishing is configured by [Automated Builds](https://hub.docker.com/repository/docker/spotify/techdocs/builds/edit) feature on Docker Hub which is triggered from GitHub (on new commits and releases). @backstage/techdocs-core team has access to the settings.
28
+
29
+
The `latest` tag on Docker Hub points to the recent commits in the `master` branch. The [version tags](https://hub.docker.com/r/spotify/techdocs/tags) (e.g. v0.1.1-alpha.24) point to the GitHub tags created from [releases](https://github.com/backstage/backstage/releases) of this GitHub repository.
30
+
31
+
Note: We recommend using a specific version of the container instead of `latest` release for stability and avoiding unexpected changes.
0 commit comments