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:
@@ -8,7 +8,10 @@ theme:
|
||||
site_name: AyaNova Customer user manual
|
||||
site_dir: '../../../server/AyaNova/wwwroot/cust'
|
||||
strict: true
|
||||
copyright: Copyright © 2022 Ground Zero Tech-Works Inc. REV-2022-07-18
|
||||
# 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