From 9930f3dbad3a3dd55670e728e08d8719045f07d2 Mon Sep 17 00:00:00 2001
From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Date: Mon, 7 Apr 2025 15:39:39 +0300
Subject: [PATCH] Remove self-closing tags
https://developer.mozilla.org/en-US/docs/Glossary/Void_element\#self-closing_tags
---
python_docs_theme/footerdonate.html | 2 +-
python_docs_theme/layout.html | 34 ++++++++++++++---------------
2 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/python_docs_theme/footerdonate.html b/python_docs_theme/footerdonate.html
index 2aef2ac2..010014d6 100644
--- a/python_docs_theme/footerdonate.html
+++ b/python_docs_theme/footerdonate.html
@@ -1,3 +1,3 @@
{% trans %}The Python Software Foundation is a non-profit corporation.{% endtrans %}
{% trans %}Please donate.{% endtrans %}
-
+
diff --git a/python_docs_theme/layout.html b/python_docs_theme/layout.html
index 9762b06c..a74517c9 100644
--- a/python_docs_theme/layout.html
+++ b/python_docs_theme/layout.html
@@ -14,7 +14,7 @@
{{ _('Navigation') }}
{%- endfor %}
{%- block rootrellink %}
-
+
{{theme_root_name}} {{ reldelim1 }}
@@ -48,8 +48,8 @@ {{ _('Navigation') }}
{%- if builder != "htmlhelp" %}
{%- endif %}
@@ -71,7 +71,7 @@ {{ _('Navigation') }}
{%- block extrahead -%}
-
+
{%- if builder != "htmlhelp" %}
{%- if not embedded %}
@@ -93,14 +93,14 @@ {{ _('Navigation') }}
{%- if builder != 'htmlhelp' %}
+ aria-pressed="false" aria-expanded="false" role="button" aria-label="{{ _('Menu')}}">
-
+
{%- if pagename != "search" and builder != "singlehtml" %}
@@ -108,8 +108,8 @@ {{ _('Navigation') }}
-
-
+
+
{%- endif %}
@@ -121,7 +121,7 @@ {{ _('Navigation') }}
{%- if logo %}
-
+
{%- endif %}
@@ -143,21 +143,21 @@ {{ _('Navigation') }}
{% if theme_copyright_url or hasdoc('copyright') %}
{% endif %} {{ copyright|e }}.
-
+
{% trans %}This page is licensed under the Python Software Foundation License Version 2.{% endtrans %}
-
+
{% trans %}Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.{% endtrans %}
-
+
{% if theme_license_url %}
- {% trans license_file=theme_license_url %}See History and License for more information.{% endtrans %}
+ {% trans license_file=theme_license_url %}See History and License for more information.{% endtrans %}
{% endif %}
{% if theme_hosted_on %}
- {% trans hosted_on=theme_hosted_on %}Hosted on {{ hosted_on }}.{% endtrans %}
+ {% trans hosted_on=theme_hosted_on %}Hosted on {{ hosted_on }}.{% endtrans %}
{% endif %}
-
+
{% include "footerdonate.html" %}
-
+
{%- if last_updated %}
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
@@ -165,7 +165,7 @@ {{ _('Navigation') }}
{% if theme_issues_url %}
{% trans %}Found a bug ?{% endtrans %}
{% endif %}
-
+
{% trans sphinx_version=sphinx_version|e %}Created using Sphinx {{ sphinx_version }}.{% endtrans %}
pFad - Phonifier reborn
Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy