case 4757 - manual revision stamp and copyright year set automatically when the manuals are built

A MkDocs hook (docs/8.0/rev_date.py), used by both manuals, replaces REV-AUTO
and YEAR-AUTO in the copyright line with the date of the last commit that
changed that manual, or today if it has uncommitted changes or git is not
available. A missing placeholder fails the strict build. The customer manual's
stamp had not been updated since 2022. The home page sentence about the stamp
no longer reads like a placeholder. Release procedure step 2, the docs
Dockerfile usage lines and .gitignore (__pycache__) follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-31 07:58:07 -07:00
parent 2968ae7dc7
commit 3b80f019ad
7 changed files with 51 additions and 9 deletions

View File

@@ -51,7 +51,9 @@ cd C:\data\code\raven-test\e2e; .\local-run.bat
**Often missed: check carefully against the previous release.**
- `docs/8.0/ayanova/docs/changelog.md`: the new version's section is complete and reads well; remove "IN PROGRESS".
- `docs/8.0/ayanova/mkdocs.yml`: `copyright` line, year range and `REV-` date.
- Manual revision stamp and copyright year: set automatically when the manuals are built
(`docs/8.0/rev_date.py`, the date of the last commit that changed each manual). After the build,
check the bottom of a page in `server/AyaNova/wwwroot/docs`: `REV-` must be that date.
- `dist/latest-version.json`: the new version and its changelog anchor (for example `#ayanova-830`). Set at the version bump; check it here.
## 3. Build