Documentation releases¶
The manual uses mike to publish several versions to the gh-pages branch.
GitHub Pages must be configured once to deploy from that branch at /.
Automated channels¶
- A pull request or push to
mainrunsmkdocs build --strict; pull requests retain the renderedsite/as a seven-day preview artifact. - A push to
maindeploys the nightly manual. - A manual Deploy versioned documentation run publishes a numbered release and can move the stable alias/default.
The deployment job uses the exact versions in requirements.txt and the full
Git history needed by the revision-date plugin.
Publish a release¶
Before moving stable:
- Check out the manual content that matches the application release.
- Update all explicit version facts, install commands, counts, examples, validation status, and compatibility notes.
- Replace screenshots with captures from the same release.
- Re-run the documented installation check on each platform whose status will be labelled verified; state other platforms as pending.
- Run
mkdocs build --strictand visually review key pages. - In GitHub Actions, run Deploy versioned documentation with a version such
as
0.12.0a3andmake_stable=true. - Open the public site, select both the numbered release and
stable, then verify installation, search, code highlighting, redirects, and images.
The workflow executes the equivalent of:
Never overwrite an old numbered manual with content for a different software release. Correct a serious documentation error with a transparent follow-up and record it in the repository history.
Preview versioned output locally¶
Do not push the generated site/ directory; mike manages versioned content in
the deployment branch.