From ce724571b35f4e79fff1c862fcd9afa4c26b605f 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] Docs HTML: Remove self-closing tags (#132220) 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 cfd8b3a16dc8..467961dd5e2b 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -631,12 +631,12 @@ ogp_social_cards = { # Used when matplotlib is installed 'line_color': '#3776ab', } ogp_custom_meta_tags = [ - '', + '', ] if 'create-social-cards' not in tags: # noqa: F821 # Define a static preview image when not creating social cards 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 26b302b495c7..afe2b4fbb5eb 100644 --- a/Doc/includes/email-alternative.py +++ b/Doc/includes/email-alternative.py @@ -36,7 +36,7 @@ msg.add_alternative("""\ recette sera sûrement un très bon repas.
-