Docs Versioning and Release¶
PulsimCore documentation is published to GitHub Pages using MkDocs Material + mike.
Publish Model¶
- Pull requests: strict docs build only (no deploy).
- Push to
main: deploy documentation snapshot asdev. - Push of release tags
vX.Y.Z: deploy versioned docs (X.Y.Z) and updatelatest.
This gives fast iteration on main and stable, versioned release docs.
Manual Release Procedure¶
- Update project version metadata.
- Commit code + docs changes.
- Create and push a semantic tag.
python scripts/update_version.py 0.5.2
git tag v0.5.2
git push origin main --tags
Workflow Guarantees¶
mkdocs build --strictruns before deploy.- invalid tag formats are rejected.
- version selector remains available in UI through
mike.
GitHub Pages Setup¶
In repository settings:
- Open Settings -> Pages.
- Set Source to GitHub Actions.
- Keep
gh-pagesbranch managed only by docs workflow/mike.
Rollback Strategy¶
If documentation quality regresses:
- fix docs in a patch commit;
- publish a new patch tag (
vX.Y.(Z+1)).
Avoid force-reusing an existing published tag.