From 1887f1d0c97897309a5839f2ac2b95ce76220d07 Mon Sep 17 00:00:00 2001 From: Jeff Riley Date: Mon, 9 Mar 2026 10:11:03 +1100 Subject: [PATCH] Add 'Last updated' timestamp to index page --- online-docs/conf.py | 7 +++++++ online-docs/index.rst | 1 + 2 files changed, 8 insertions(+) diff --git a/online-docs/conf.py b/online-docs/conf.py index 65b5ae455..496db3e20 100644 --- a/online-docs/conf.py +++ b/online-docs/conf.py @@ -109,6 +109,13 @@ 'show_relbar_bottom': 'true' } +# last updated stamp +# (not supported yet in alabster...) - use "today" in MD file for now +html_last_updated_fmt = "" +html_last_updated_use_utc = True + +today_fmt = '%Y-%m-%d %H:%M (UTC%z)' + # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". diff --git a/online-docs/index.rst b/online-docs/index.rst index 53c531ebc..0e718c6ab 100644 --- a/online-docs/index.rst +++ b/online-docs/index.rst @@ -62,3 +62,4 @@ Licence COMPAS is available under the `MIT `_ licence. +Last updated: |today| \ No newline at end of file