Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bf5471f

Browse filesBrowse files
hugovkAA-Turner
andauthored
[3.13] Docs HTML: Remove self-closing tags (GH-132220) (#132228)
(cherry picked from commit ce72457) Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
1 parent 53555f2 commit bf5471f
Copy full SHA for bf5471f

File tree

4 files changed

+22
-22
lines changed
Filter options

4 files changed

+22
-22
lines changed

‎Doc/conf.py

Copy file name to clipboardExpand all lines: Doc/conf.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@
620620
ogp_site_name = 'Python documentation'
621621
ogp_image = '_static/og-image.png'
622622
ogp_custom_meta_tags = [
623-
'<meta property="og:image:width" content="200" />',
624-
'<meta property="og:image:height" content="200" />',
625-
'<meta name="theme-color" content="#3776ab" />',
623+
'<meta property="og:image:width" content="200">',
624+
'<meta property="og:image:height" content="200">',
625+
'<meta name="theme-color" content="#3776ab">',
626626
]

‎Doc/includes/email-alternative.py

Copy file name to clipboardExpand all lines: Doc/includes/email-alternative.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
recette
3737
</a> sera sûrement un très bon repas.
3838
</p>
39-
<img src="cid:{asparagus_cid}" />
39+
<img src="cid:{asparagus_cid}">
4040
</body>
4141
</html>
4242
""".format(asparagus_cid=asparagus_cid[1:-1]), subtype='html')

‎Doc/tools/templates/indexcontent.html

Copy file name to clipboardExpand all lines: Doc/tools/templates/indexcontent.html
+17-17Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,47 +23,47 @@ <h1>{{ docstitle|e }}</h1>
2323
<p><strong>{% trans %}Documentation sections:{% endtrans %}</strong></p>
2424
<table class="contentstable" align="center"><tr>
2525
<td width="50%">
26-
<p class="biglink"><a class="biglink" href="{{ pathto("whatsnew/" + version) }}">{% trans %}What's new in Python {{ version }}?{% endtrans %}</a><br/>
26+
<p class="biglink"><a class="biglink" href="{{ pathto("whatsnew/" + version) }}">{% trans %}What's new in Python {{ version }}?{% endtrans %}</a><br>
2727
<span class="linkdescr"> {% trans whatsnew_index=pathto("whatsnew/index") %}Or <a href="{{ whatsnew_index }}">all "What's new" documents since Python 2.0</a>{% endtrans %}</span></p>
28-
<p class="biglink"><a class="biglink" href="{{ pathto("tutorial/index") }}">{% trans %}Tutorial{% endtrans %}</a><br/>
28+
<p class="biglink"><a class="biglink" href="{{ pathto("tutorial/index") }}">{% trans %}Tutorial{% endtrans %}</a><br>
2929
<span class="linkdescr">{% trans %}Start here: a tour of Python's syntax and features{% endtrans %}</span></p>
30-
<p class="biglink"><a class="biglink" href="{{ pathto("library/index") }}">{% trans %}Library reference{% endtrans %}</a><br/>
30+
<p class="biglink"><a class="biglink" href="{{ pathto("library/index") }}">{% trans %}Library reference{% endtrans %}</a><br>
3131
<span class="linkdescr">{% trans %}Standard library and builtins{% endtrans %}</span></p>
32-
<p class="biglink"><a class="biglink" href="{{ pathto("reference/index") }}">{% trans %}Language reference{% endtrans %}</a><br/>
32+
<p class="biglink"><a class="biglink" href="{{ pathto("reference/index") }}">{% trans %}Language reference{% endtrans %}</a><br>
3333
<span class="linkdescr">{% trans %}Syntax and language elements{% endtrans %}</span></p>
34-
<p class="biglink"><a class="biglink" href="{{ pathto("using/index") }}">{% trans %}Python setup and usage{% endtrans %}</a><br/>
34+
<p class="biglink"><a class="biglink" href="{{ pathto("using/index") }}">{% trans %}Python setup and usage{% endtrans %}</a><br>
3535
<span class="linkdescr">{% trans %}How to install, configure, and use Python{% endtrans %}</span></p>
36-
<p class="biglink"><a class="biglink" href="{{ pathto("howto/index") }}">{% trans %}Python HOWTOs{% endtrans %}</a><br/>
36+
<p class="biglink"><a class="biglink" href="{{ pathto("howto/index") }}">{% trans %}Python HOWTOs{% endtrans %}</a><br>
3737
<span class="linkdescr">{% trans %}In-depth topic manuals{% endtrans %}</span></p>
3838
</td><td width="50%">
39-
<p class="biglink"><a class="biglink" href="{{ pathto("installing/index") }}">{% trans %}Installing Python modules{% endtrans %}</a><br/>
39+
<p class="biglink"><a class="biglink" href="{{ pathto("installing/index") }}">{% trans %}Installing Python modules{% endtrans %}</a><br>
4040
<span class="linkdescr">{% trans %}Third-party modules and PyPI.org{% endtrans %}</span></p>
41-
<p class="biglink"><a class="biglink" href="{{ pathto("distributing/index") }}">{% trans %}Distributing Python modules{% endtrans %}</a><br/>
41+
<p class="biglink"><a class="biglink" href="{{ pathto("distributing/index") }}">{% trans %}Distributing Python modules{% endtrans %}</a><br>
4242
<span class="linkdescr">{% trans %}Publishing modules for use by other people{% endtrans %}</span></p>
43-
<p class="biglink"><a class="biglink" href="{{ pathto("extending/index") }}">{% trans %}Extending and embedding{% endtrans %}</a><br/>
43+
<p class="biglink"><a class="biglink" href="{{ pathto("extending/index") }}">{% trans %}Extending and embedding{% endtrans %}</a><br>
4444
<span class="linkdescr">{% trans %}For C/C++ programmers{% endtrans %}</span></p>
45-
<p class="biglink"><a class="biglink" href="{{ pathto("c-api/index") }}">{% trans %}Python's C API{% endtrans %}</a><br/>
45+
<p class="biglink"><a class="biglink" href="{{ pathto("c-api/index") }}">{% trans %}Python's C API{% endtrans %}</a><br>
4646
<span class="linkdescr">{% trans %}C API reference{% endtrans %}</span></p>
47-
<p class="biglink"><a class="biglink" href="{{ pathto("faq/index") }}">{% trans %}FAQs{% endtrans %}</a><br/>
47+
<p class="biglink"><a class="biglink" href="{{ pathto("faq/index") }}">{% trans %}FAQs{% endtrans %}</a><br>
4848
<span class="linkdescr">{% trans %}Frequently asked questions (with answers!){% endtrans %}</span></p>
49-
<p class="biglink"><a class="biglink" href="{{ pathto("deprecations/index") }}">{% trans %}Deprecations{% endtrans %}</a><br/>
49+
<p class="biglink"><a class="biglink" href="{{ pathto("deprecations/index") }}">{% trans %}Deprecations{% endtrans %}</a><br>
5050
<span class="linkdescr">{% trans %}Deprecated functionality{% endtrans %}</span></p>
5151
</td></tr>
5252
</table>
5353

5454
<p><strong>{% trans %}Indices, glossary, and search:{% endtrans %}</strong></p>
5555
<table class="contentstable" align="center"><tr>
5656
<td width="50%">
57-
<p class="biglink"><a class="biglink" href="{{ pathto("py-modindex") }}">{% trans %}Global module index{% endtrans %}</a><br/>
57+
<p class="biglink"><a class="biglink" href="{{ pathto("py-modindex") }}">{% trans %}Global module index{% endtrans %}</a><br>
5858
<span class="linkdescr">{% trans %}All modules and libraries{% endtrans %}</span></p>
59-
<p class="biglink"><a class="biglink" href="{{ pathto("genindex") }}">{% trans %}General index{% endtrans %}</a><br/>
59+
<p class="biglink"><a class="biglink" href="{{ pathto("genindex") }}">{% trans %}General index{% endtrans %}</a><br>
6060
<span class="linkdescr">{% trans %}All functions, classes, and terms{% endtrans %}</span></p>
61-
<p class="biglink"><a class="biglink" href="{{ pathto("glossary") }}">{% trans %}Glossary{% endtrans %}</a><br/>
61+
<p class="biglink"><a class="biglink" href="{{ pathto("glossary") }}">{% trans %}Glossary{% endtrans %}</a><br>
6262
<span class="linkdescr">{% trans %}Terms explained{% endtrans %}</span></p>
6363
</td><td width="50%">
64-
<p class="biglink"><a class="biglink" href="{{ pathto("search") }}">{% trans %}Search page{% endtrans %}</a><br/>
64+
<p class="biglink"><a class="biglink" href="{{ pathto("search") }}">{% trans %}Search page{% endtrans %}</a><br>
6565
<span class="linkdescr">{% trans %}Search this documentation{% endtrans %}</span></p>
66-
<p class="biglink"><a class="biglink" href="{{ pathto("contents") }}">{% trans %}Complete table of contents{% endtrans %}</a><br/>
66+
<p class="biglink"><a class="biglink" href="{{ pathto("contents") }}">{% trans %}Complete table of contents{% endtrans %}</a><br>
6767
<span class="linkdescr">{% trans %}Lists all sections and subsections{% endtrans %}</span></p>
6868
</td></tr>
6969
</table>

‎Doc/tools/templates/layout.html

Copy file name to clipboardExpand all lines: Doc/tools/templates/layout.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
{% if builder == "html" and enable_analytics %}
3030
<script defer data-domain="docs.python.org" src="https://plausible.io/js/script.js"></script>
3131
{% endif %}
32-
<link rel="canonical" href="https://docs.python.org/3/{{pagename}}.html" />
32+
<link rel="canonical" href="https://docs.python.org/3/{{pagename}}.html">
3333
{% if builder != "htmlhelp" %}
3434
{% if pagename == 'whatsnew/changelog' and not embedded %}
3535
<script type="text/javascript" src="{{ pathto('_static/changelog_search.js', 1) }}"></script>{% endif %}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.