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
Add content versioning and GitHub Releases for the living book
Version the book CONTENT independently of the site generator and tooling,
and surface the version in both the online edition and the generated PDF.
- content/VERSION (source of truth) + content/CHANGELOG.md (release notes)
- scripts/content_version.py: shared stdlib-only parser + CLI (version/tag/notes)
used by the generator, PDF builder, and release workflow
- site/generate.py: surface v<version> in header pill, cover, breadcrumbs,
footers, book cover/colophon; new versions.html history page; sitemap + llms
- scripts/build_pdf.py: stamp the version into the PDF running footer
- site/assets/style.css: scoped version pill + release-history styles
- .github/workflows/release-content.yml: cut content-vX.Y on VERSION change,
build the versioned PDF, and attach it; idempotent + self-healing, and manual
dispatch always derives the version from the checked-out ref so releases
can never be mislabeled
- README: document the versioning + release process
Releases published: content-v1.0 (pre-APM) and content-v1.1 (Latest, with PDF).
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
0 commit comments