Docs: Add the time to the HTML last updated format (#110091)

This commit is contained in:
Adam Turner 2023-11-15 04:04:28 +00:00 committed by GitHub
parent 4744f59a5e
commit 6c214dea7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -288,9 +288,8 @@
"pr_id": os.getenv("READTHEDOCS_VERSION")
}
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
html_last_updated_fmt = '%b %d, %Y'
# This 'Last updated on:' timestamp is inserted at the bottom of every page.
html_last_updated_fmt = time.strftime('%b %d, %Y (%H:%M UTC)', time.gmtime())
# Path to find HTML templates.
templates_path = ['tools/templates']