Skip to content

Latest commit

 

History

145 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

techdocs-container

This is the Docker container that powers the creation of static documentation sites that are supported by TechDocs.

Getting Started

Using the TechDocs CLI, we can invoke the latest version of techdocs-container via Docker Hub:

npx @techdocs/cli serve

Local Development

docker build . -t mkdocs:local-dev

docker run -w /content -v $(pwd)/mock-docs:/content -p 8000:8000 -it mkdocs:local-dev serve -a 0.0.0.0:8000

Then open up http://localhost:8000 on your local machine.

Release

  1. When you are ready to create a new release head over to releases and click on Draft a new release.

  2. Use an incremental version number for the release e.g. v2.2.1 and use that as the tag version. Github will create a new tag if the tag doesn't exist. Fill out the rest of the fields and click Publish release.

  3. Once released, consider updating the default version used in techdocs-common's TechdocsGenerator.

The release flow is managed by a GitHub actions workflow. Whenever a new release is published on GitHub, the workflow pushes the tag to DockerHub.

Note: The latest tag on DockerHub points to the recent commits in the main branch. This is configured by the main workflow. We recommend using a specific version of the container instead of latest release for stability and avoiding unexpected changes.

Updating PlantUML

PlantUML is a Java based tool which is packaged in a single JAR file. The Dockerfile takes the JAR from the official plantuml/plantuml image, pinned by tag and digest, so Renovate opens the update PR and no checksum needs to be maintained by hand.

To bump it manually, update both the tag and the digest on the COPY --from=plantuml/plantuml:... line. Get the digest for a version with:

docker buildx imagetools inspect plantuml/plantuml:1.2026.2

About

Docker container that powers the generation of TechDocs static sites

Resources

Stars

43 stars

Watchers

11 watching

Forks

Releases

Packages

Used by

Contributors

Languages