Skip to content

Commit e84182c

Browse files
committed
docs: Add a "Last updated on:" HTML footer
Show the build time of the docs. Ported from open-mpi/ompi#13236 Signed-off-by: Ralph Castain <[email protected]> (cherry picked from commit 866a113)
1 parent 92f31dd commit e84182c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
month = mydate.strftime("%B")
2828

2929
project = 'OpenPMIx'
30-
copyright = f'2014-{year}, The OpenPMIx Community'
30+
copyright = f'2014-{year}, OpenPMIx Community'
3131
author = 'The OpenPMIx Community'
3232

3333
# The full version, including alpha/beta/rc tags
@@ -151,6 +151,9 @@
151151
# so a file named "default.css" will overwrite the builtin "default.css".
152152
#html_static_path = ['_static']
153153

154+
# Put a "Last updated on:" timestamp at the bottom of each page.
155+
html_last_updated_fmt = '%Y-%m-%d %H:%M:%S %Z'
156+
154157
# -- Options for MAN output -------------------------------------------------
155158

156159
import os

0 commit comments

Comments
 (0)