From 1f5e1a140fea449ba2cc99bc053788784e9fa3fe Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Mon, 5 May 2025 16:17:09 -0400 Subject: [PATCH] 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 --- docs/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 87c2d696ada..908d970819c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -233,6 +233,8 @@ def get_tarball_version(path, expr): # so a file named "default.css" will overwrite the builtin "default.css". #html_static_path = ['_static'] +# Put a "Last updated on:" timestamp at the bottom of each page. +html_last_updated_fmt = '%Y-%m-%d %H:%M:%S %Z' # Short hand external links # Allows smoother transitioning for commonly used articles and sites