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:
@@ -18,9 +18,7 @@ You may be viewing an older local version of this manual that was installed with
|
||||
|
||||
The most recent manual can always be viewed on our website at [https://www.ayanova.com/docs/](https://www.ayanova.com/docs/)
|
||||
|
||||
You can tell which version of the manual you are viewing by look at the revision stamp at the bottom of the page which shows the year month and day that copy of the manual was last updated:
|
||||
|
||||
`REV-YYYY-MM-DD `
|
||||
You can tell which version of the manual you are viewing by looking at the revision stamp at the bottom of the page: `REV-` followed by the year, month and day this copy of the manual was last changed.
|
||||
|
||||
### Beyond this manual
|
||||
|
||||
|
||||
@@ -8,7 +8,10 @@ site_name: AyaNova manual
|
||||
site_dir: "../../../server/AyaNova/wwwroot/docs"
|
||||
site_url: https://ayanova.com/docs/
|
||||
strict: true
|
||||
copyright: Copyright © 2022-2026 Ground Zero Tech-Works Inc. REV-2026-10-26
|
||||
# YEAR-AUTO and REV-AUTO are set when the manual is built (../rev_date.py)
|
||||
copyright: Copyright © 2022-YEAR-AUTO Ground Zero Tech-Works Inc. REV-AUTO
|
||||
hooks:
|
||||
- ../rev_date.py
|
||||
extra:
|
||||
generator: false
|
||||
# Extensions
|
||||
|
||||
Reference in New Issue
Block a user