From 4167c81fe4524e073a14ea1f6e2edff06092f84f Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 7 Apr 2025 18:21:13 +0300 Subject: [PATCH] [3.13] Docs HTML: Remove self-closing tags (GH-132220) (cherry picked from commit ce724571b35f4e79fff1c862fcd9afa4c26b605f) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> --- Doc/conf.py | 6 ++--- Doc/includes/email-alternative.py | 2 +- Doc/tools/templates/indexcontent.html | 34 +++++++++++++-------------- Doc/tools/templates/layout.html | 2 +- 4 files changed, 22 insertions(+), 22 deletions(-) diff --git a/Doc/conf.py b/Doc/conf.py index 06dc1f29aa7cfd..c73a4d09617f79 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -620,7 +620,7 @@ ogp_site_name = 'Python documentation' ogp_image = '_static/og-image.png' ogp_custom_meta_tags = [ - '', - '', - '', + '', + '', + '', ] diff --git a/Doc/includes/email-alternative.py b/Doc/includes/email-alternative.py index 26b302b495c7ac..afe2b4fbb5eb3f 100644 --- a/Doc/includes/email-alternative.py +++ b/Doc/includes/email-alternative.py @@ -36,7 +36,7 @@ recette sera sûrement un très bon repas.

- + """.format(asparagus_cid=asparagus_cid[1:-1]), subtype='html') diff --git a/Doc/tools/templates/indexcontent.html b/Doc/tools/templates/indexcontent.html index 2686f48dad2a95..0d25dd45e9a0c7 100644 --- a/Doc/tools/templates/indexcontent.html +++ b/Doc/tools/templates/indexcontent.html @@ -10,30 +10,30 @@

{{ docstitle|e }}

{% trans %}Documentation sections:{% endtrans %}

- - - - - - - - - - - -
@@ -41,16 +41,16 @@

{{ docstitle|e }}

{% trans %}Indices, glossary, and search:{% endtrans %}

- - - - -
diff --git a/Doc/tools/templates/layout.html b/Doc/tools/templates/layout.html index b09fd21a8ddcc9..10a87f50d8566b 100644 --- a/Doc/tools/templates/layout.html +++ b/Doc/tools/templates/layout.html @@ -29,7 +29,7 @@ {% if builder == "html" and enable_analytics %} {% endif %} - + {% if builder != "htmlhelp" %} {% if pagename == 'whatsnew/changelog' and not embedded %} {% endif %}