Skip to content

Commit 7fe8e14

Browse files
doc/conf: use stable year for man page generation
Updating the man pages should always be an explicit action. We rely on stable output and keep the generated man pages tracked in git for easy packaging. The CI jobs generate the man pages and check for diffs. Using the current year obviously breaks this process, so set the year to an explicit value that can be updated when required. Signed-off-by: Bastian Krause <bst@pengutronix.de>
1 parent 2f0bdf1 commit 7fe8e14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def setup(app):
223223
# Make version and date stable when generating manpages as they will be tracked in git
224224
if app.outdir.parts[-1] == "man":
225225
app.config.version = ""
226-
app.config.today_fmt = "%Y"
226+
app.config.today = "2025"
227227
app.connect('builder-inited', run_apidoc)
228228
app.connect('doctree-read', write_literal_blocks)
229229

0 commit comments

Comments
 (0)