From da20d3e82e71fa238709a567a91b6d8edef0c2ff Mon Sep 17 00:00:00 2001 From: Jan-Philip Gehrcke Date: Sat, 15 Dec 2018 17:52:45 +0100 Subject: [PATCH 1/4] footer.html: show last_updated below copyright Without this patch the following text can appear on the same line: Copyright year-year, name Last updated on Mmm DD, YYY. The additional container ensures that the last_updated notice is placed below the copyright notice. --- sphinx_rtd_theme/footer.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sphinx_rtd_theme/footer.html b/sphinx_rtd_theme/footer.html index 66261c11..8303b8b0 100644 --- a/sphinx_rtd_theme/footer.html +++ b/sphinx_rtd_theme/footer.html @@ -36,7 +36,9 @@ {% endtrans %} {%- elif last_updated %} - {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} +
+ {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} +
{%- endif %}

From 6635e76c5a9587d50c539d0c145d8b7b9f9e8605 Mon Sep 17 00:00:00 2001 From: Jan-Philip Gehrcke Date: Sat, 15 Dec 2018 17:59:37 +0100 Subject: [PATCH 2/4] Update changelog.rst --- docs/changelog.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/changelog.rst b/docs/changelog.rst index 1cd1c5a7..64db8f11 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -18,6 +18,7 @@ Fixes * Fix scrolling to active item in sidebar on load (#214) * Style caption link for code and literal blocks * Fix inconsistent font size and line height for autodoc "raises" and "returns" (#267) +* Fix last_updated notice appearing in same line as copyright notice (#704) Other Changes From 675ef7d3febfd70e99b961bd3e4e9b9bdfb86f60 Mon Sep 17 00:00:00 2001 From: Eric Holscher <25510+ericholscher@users.noreply.github.com> Date: Tue, 12 Feb 2019 16:16:25 -0300 Subject: [PATCH 3/4] Add class name --- sphinx_rtd_theme/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx_rtd_theme/footer.html b/sphinx_rtd_theme/footer.html index 1cd59885..40083930 100644 --- a/sphinx_rtd_theme/footer.html +++ b/sphinx_rtd_theme/footer.html @@ -36,7 +36,7 @@ {% endtrans %} {%- elif last_updated %} -
+
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
{%- endif %} From 226cf3844e12a62cd2e2115a94a6a26b272a0248 Mon Sep 17 00:00:00 2001 From: Eric Holscher <25510+ericholscher@users.noreply.github.com> Date: Tue, 12 Feb 2019 16:17:31 -0300 Subject: [PATCH 4/4] Change to span. --- sphinx_rtd_theme/footer.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sphinx_rtd_theme/footer.html b/sphinx_rtd_theme/footer.html index 40083930..80815bd9 100644 --- a/sphinx_rtd_theme/footer.html +++ b/sphinx_rtd_theme/footer.html @@ -36,9 +36,9 @@ {% endtrans %} {%- elif last_updated %} -
+ {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} -
+ {%- endif %}