summaryrefslogtreecommitdiffstats
path: root/Doc/tools/templates
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2023-07-23 15:18:50 (GMT)
committerGitHub <noreply@github.com>2023-07-23 15:18:50 (GMT)
commit956b3de816f4b18f6b947a11c8eec6c39f60ea88 (patch)
tree38eac40a7636e5afc480344c617b0fbf33c35bc7 /Doc/tools/templates
parentd1b839b4538fbfc5a3f28d9b0b0422ec026e334c (diff)
downloadcpython-956b3de816f4b18f6b947a11c8eec6c39f60ea88.zip
cpython-956b3de816f4b18f6b947a11c8eec6c39f60ea88.tar.gz
cpython-956b3de816f4b18f6b947a11c8eec6c39f60ea88.tar.bz2
Remove superflous whitespaces in `layout.html`. (GH-107067)
Diffstat (limited to 'Doc/tools/templates')
-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 18a4927..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 {% 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 %}