Versioning Policy¶
Docs-Release Parity¶
Docs versions must correspond to code tags:
The versioned docs deploy is triggered only by a pipeline triggered by
git tag v0.8.xin the source repo.No docs version exists without a corresponding code tag.
Version Identifiers¶
Identifier |
Meaning |
|---|---|
|
Latest commit on |
|
Tagged releases |
Deployment¶
# Deploy tagged version (CI only — runs sphinx-multiversion then ghp-import):
make docs-sphinx-multiversion
ghp-import -n -p -f docs/_sphinx_build/multiversion/ -b gh-pages
# Deploy dev snapshot (CI only — runs make docs then ghp-import):
make docs
ghp-import -n -p -f docs/_sphinx_build/html/ -b gh-pages
Current Implementation Notes¶
sphinx-multiversion(configured indocs/conf.py) builds one HTML tree per matching Git tag/branch and writes each to a subdirectory of the output root named by the ref.docs/releases/changelog.mdtracks unreleased deltas until next tag.This repository currently documents and tests the policy; release tagging/deploy execution happens in the release workflow context.
MkDocs and
mikeare retired (S-PR7).mkdocs.ymlandrequirements.txtare archived asmkdocs.yml.archivedandrequirements.txt.archived.
Evidence¶
docs/conf.py(smv_tag_whitelist,smv_branch_whitelist,smv_outputdir_format)docs/requirements-sphinx.txt(sphinx-multiversion==0.2.4,ghp-import==2.1.0)docs/releases/changelog.mdMakefiledocs targets (docs,docs-serve,docs-gen,docs-sphinx-multiversion)