diff --git a/doc/_static/css/custom.css b/doc/_static/css/custom.css index 94b9043ed4d..2473675fa54 100644 --- a/doc/_static/css/custom.css +++ b/doc/_static/css/custom.css @@ -883,6 +883,11 @@ dark-mode-toggle::part(toggleLabel){ color: white; } +.lastupdated { + font-weight: 200; + font-size: 0.9rem; +} + /* Custom search box, including search engine selection */ .search-container { diff --git a/doc/_templates/footer.html b/doc/_templates/footer.html index 757bb27529d..9dacea7113d 100644 --- a/doc/_templates/footer.html +++ b/doc/_templates/footer.html @@ -6,25 +6,13 @@ {%- endif %} {%- if last_updated %} - - Last generated on {{ last_updated }}. - +
+ Last generated: {{ last_updated }}. + {%- set git_last_updated, sha1 = pagename | git_info | default((None, None), true) %} + {%- if git_last_updated %} + Last source update: {{ git_last_updated }}. + {%- endif %} +
{%- endif -%}

-{%- set git_last_updated, sha1 = pagename | git_info | default((None, None), true) %} -{%- if git_last_updated %} -
-

- Help us keep our technical documentation accurate and up-to-date! -

-

- The human-authored contents on this page was last updated on {{ git_last_updated }}. -

-

- If you find any errors on this page, outdated information, or have any other suggestion for - improving its contents, please consider - opening an issue. -

-
-{%- endif %} {% endblock %}