Skip to content

Commit 1f5e1a1

Browse files
committed
docs: Add a "Last updated on:" HTML footer
This shows the build time of the document. Will be useful for docs.open-mpi.org and for the pre-built HTML pages that we ship in distribution tarballs. Signed-off-by: Jeff Squyres <[email protected]>
1 parent 1958344 commit 1f5e1a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/conf.py

+2
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,8 @@ def get_tarball_version(path, expr):
233233
# so a file named "default.css" will overwrite the builtin "default.css".
234234
#html_static_path = ['_static']
235235

236+
# Put a "Last updated on:" timestamp at the bottom of each page.
237+
html_last_updated_fmt = '%Y-%m-%d %H:%M:%S %Z'
236238

237239
# Short hand external links
238240
# Allows smoother transitioning for commonly used articles and sites

0 commit comments

Comments
 (0)