summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2023-07-25 16:25:07 (GMT)
committerGitHub <noreply@github.com>2023-07-25 16:25:07 (GMT)
commit313284aa423252ebd5d4e761220e0f4fdeac626d (patch)
tree1ab16597656cc1b1b6c790e7be0cd9cce1da6520 /Doc/tools
parentca42d6720850967698d6e298e37a4225f0c67d8e (diff)
downloadcpython-313284aa423252ebd5d4e761220e0f4fdeac626d.zip
cpython-313284aa423252ebd5d4e761220e0f4fdeac626d.tar.gz
cpython-313284aa423252ebd5d4e761220e0f4fdeac626d.tar.bz2
[3.12] Remove superflous whitespaces in `layout.html`. (#107251)
Remove superflous whitespaces in layout.html.
Diffstat (limited to 'Doc/tools')
-rw-r--r--Doc/tools/templates/layout.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/tools/templates/layout.html b/Doc/tools/templates/layout.html
index 10cb6fd..9832feb 100644
--- a/Doc/tools/templates/layout.html
+++ b/Doc/tools/templates/layout.html
@@ -4,16 +4,16 @@
{%- if outdated %}
<div id="outdated-warning" style="padding: .5em; text-align: center; background-color: #FFBABA; color: #6A0E0E;">
{% trans %}This document is for an old version of Python that is no longer supported.
- You should upgrade, and read the {% endtrans %}
- <a href="/3/{{ pagename }}{{ file_suffix }}">{% trans %} Python documentation for the current stable release{% endtrans %}</a>.
+ You should upgrade, and read the{% endtrans %}
+ <a href="/3/{{ pagename }}{{ file_suffix }}">{% trans %}Python documentation for the current stable release{% endtrans %}</a>.
</div>
{%- endif %}
{%- if is_deployment_preview %}
<div id="deployment-preview-warning" style="padding: .5em; text-align: center; background-color: #fff2ba; color: #6a580e;">
{% trans %}This is a deploy preview created from a <a href="{{ repository_url }}/pull/{{ pr_id }}">pull request</a>.
- For authoritative documentation, see the {% endtrans %}
- <a href="https://docs.python.org/3/{{ pagename }}{{ file_suffix }}">{% trans %} the current stable release{% endtrans %}</a>.
+ For authoritative documentation, see{% endtrans %}
+ <a href="https://docs.python.org/3/{{ pagename }}{{ file_suffix }}">{% trans %}the current stable release{% endtrans %}</a>.
</div>
{%- endif %}
{% endblock %}