From 061a8f2f88c055b44e139d93ad3d56db5145ec16 Mon Sep 17 00:00:00 2001 From: stan Date: Mon, 24 Feb 2025 20:13:39 +0000 Subject: [PATCH 1/7] Add html meta tags --- Doc/tools/templates/download.html | 13 +++++++++++++ Doc/tools/templates/indexcontent.html | 12 ++++++++++++ Doc/tools/templates/search.html | 10 ++++++++++ 3 files changed, 35 insertions(+) diff --git a/Doc/tools/templates/download.html b/Doc/tools/templates/download.html index 45ec436fee72d7..5d8c32e1ee3af2 100644 --- a/Doc/tools/templates/download.html +++ b/Doc/tools/templates/download.html @@ -12,6 +12,19 @@ {% set dl_version = release %} {% endif %} +{%- block extrahead -%} + + + + + + + + + + +{%- endblock -%} + {% block body %}

{% trans %}Download Python {{ dl_version }} Documentation{% endtrans %}

diff --git a/Doc/tools/templates/indexcontent.html b/Doc/tools/templates/indexcontent.html index 2686f48dad2a95..799544455f8f5e 100644 --- a/Doc/tools/templates/indexcontent.html +++ b/Doc/tools/templates/indexcontent.html @@ -2,6 +2,18 @@ {%- block htmltitle -%} {{ shorttitle }} {%- endblock -%} +{%- block extrahead -%} + + + + + + + + + + +{%- endblock -%} {% block body %}

{{ docstitle|e }}

diff --git a/Doc/tools/templates/search.html b/Doc/tools/templates/search.html index 6ddac5f828bab1..01a7bf7011262c 100644 --- a/Doc/tools/templates/search.html +++ b/Doc/tools/templates/search.html @@ -3,6 +3,16 @@ {{ super() }} + + + + + + + + + + {% endblock %} {% block searchresults %}

From 7e7077bf482be7e3ab121cf501e2e5c86f2ab6c3 Mon Sep 17 00:00:00 2001 From: stan Date: Mon, 24 Feb 2025 21:01:33 +0000 Subject: [PATCH 2/7] Add missing super() --- Doc/tools/templates/download.html | 21 +++++++++++---------- Doc/tools/templates/indexcontent.html | 21 +++++++++++---------- 2 files changed, 22 insertions(+), 20 deletions(-) diff --git a/Doc/tools/templates/download.html b/Doc/tools/templates/download.html index 5d8c32e1ee3af2..a207d161089463 100644 --- a/Doc/tools/templates/download.html +++ b/Doc/tools/templates/download.html @@ -13,16 +13,17 @@ {% endif %} {%- block extrahead -%} - - - - - - - - - - + {{ super() }} + + + + + + + + + + {%- endblock -%} {% block body %} diff --git a/Doc/tools/templates/indexcontent.html b/Doc/tools/templates/indexcontent.html index 799544455f8f5e..c0d863ab3cecff 100644 --- a/Doc/tools/templates/indexcontent.html +++ b/Doc/tools/templates/indexcontent.html @@ -3,16 +3,17 @@ {{ shorttitle }} {%- endblock -%} {%- block extrahead -%} - - - - - - - - - - + {{ super() }} + + + + + + + + + + {%- endblock -%} {% block body %}

{{ docstitle|e }}

From 8af422d640b710890ee93cb352422db4fda1ffe1 Mon Sep 17 00:00:00 2001 From: stan Date: Mon, 24 Feb 2025 21:05:02 +0000 Subject: [PATCH 3/7] de-capitalize --- Doc/tools/templates/download.html | 4 ++-- Doc/tools/templates/indexcontent.html | 6 +++--- Doc/tools/templates/search.html | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Doc/tools/templates/download.html b/Doc/tools/templates/download.html index a207d161089463..ca731293cbe124 100644 --- a/Doc/tools/templates/download.html +++ b/Doc/tools/templates/download.html @@ -18,10 +18,10 @@ - + - + {%- endblock -%} diff --git a/Doc/tools/templates/indexcontent.html b/Doc/tools/templates/indexcontent.html index c0d863ab3cecff..cf768ed7bca0c6 100644 --- a/Doc/tools/templates/indexcontent.html +++ b/Doc/tools/templates/indexcontent.html @@ -4,14 +4,14 @@ {%- endblock -%} {%- block extrahead -%} {{ super() }} - + - + - + {%- endblock -%} diff --git a/Doc/tools/templates/search.html b/Doc/tools/templates/search.html index 01a7bf7011262c..f097e15327480e 100644 --- a/Doc/tools/templates/search.html +++ b/Doc/tools/templates/search.html @@ -7,10 +7,10 @@ - + - + {% endblock %} From b4d9930a6885e758d54f5307d3220f1c802ba10e Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Fri, 4 Apr 2025 16:32:58 +0100 Subject: [PATCH 4/7] Remove unnecessary closing --- Doc/tools/templates/download.html | 20 ++++++++++---------- Doc/tools/templates/indexcontent.html | 20 ++++++++++---------- Doc/tools/templates/search.html | 20 ++++++++++---------- 3 files changed, 30 insertions(+), 30 deletions(-) diff --git a/Doc/tools/templates/download.html b/Doc/tools/templates/download.html index ca731293cbe124..6760ebaf13d4cc 100644 --- a/Doc/tools/templates/download.html +++ b/Doc/tools/templates/download.html @@ -14,16 +14,16 @@ {%- block extrahead -%} {{ super() }} - - - - - - - - - - + + + + + + + + + + {%- endblock -%} {% block body %} diff --git a/Doc/tools/templates/indexcontent.html b/Doc/tools/templates/indexcontent.html index cf768ed7bca0c6..1039d3cc9ca539 100644 --- a/Doc/tools/templates/indexcontent.html +++ b/Doc/tools/templates/indexcontent.html @@ -4,16 +4,16 @@ {%- endblock -%} {%- block extrahead -%} {{ super() }} - - - - - - - - - - + + + + + + + + + + {%- endblock -%} {% block body %}

{{ docstitle|e }}

diff --git a/Doc/tools/templates/search.html b/Doc/tools/templates/search.html index f097e15327480e..bece78bcd4d98e 100644 --- a/Doc/tools/templates/search.html +++ b/Doc/tools/templates/search.html @@ -3,16 +3,16 @@ {{ super() }} - - - - - - - - - - + + + + + + + + + + {% endblock %} {% block searchresults %}
From b247745823c37065c5a9f19e12f7dc38712b73b6 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Fri, 4 Apr 2025 16:44:52 +0100 Subject: [PATCH 5/7] Revert "Remove unnecessary closing" This reverts commit b4d9930a6885e758d54f5307d3220f1c802ba10e. --- Doc/tools/templates/download.html | 20 ++++++++++---------- Doc/tools/templates/indexcontent.html | 20 ++++++++++---------- Doc/tools/templates/search.html | 20 ++++++++++---------- 3 files changed, 30 insertions(+), 30 deletions(-) diff --git a/Doc/tools/templates/download.html b/Doc/tools/templates/download.html index 6760ebaf13d4cc..ca731293cbe124 100644 --- a/Doc/tools/templates/download.html +++ b/Doc/tools/templates/download.html @@ -14,16 +14,16 @@ {%- block extrahead -%} {{ super() }} - - - - - - - - - - + + + + + + + + + + {%- endblock -%} {% block body %} diff --git a/Doc/tools/templates/indexcontent.html b/Doc/tools/templates/indexcontent.html index 1039d3cc9ca539..cf768ed7bca0c6 100644 --- a/Doc/tools/templates/indexcontent.html +++ b/Doc/tools/templates/indexcontent.html @@ -4,16 +4,16 @@ {%- endblock -%} {%- block extrahead -%} {{ super() }} - - - - - - - - - - + + + + + + + + + + {%- endblock -%} {% block body %}

{{ docstitle|e }}

diff --git a/Doc/tools/templates/search.html b/Doc/tools/templates/search.html index bece78bcd4d98e..f097e15327480e 100644 --- a/Doc/tools/templates/search.html +++ b/Doc/tools/templates/search.html @@ -3,16 +3,16 @@ {{ super() }} - - - - - - - - - - + + + + + + + + + + {% endblock %} {% block searchresults %}
From 295247fb8f89653d5a85c7cd2b0f1b068ed12690 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Mon, 7 Apr 2025 17:27:23 +0100 Subject: [PATCH 6/7] Reapply "Remove unnecessary closing" This reverts commit b247745823c37065c5a9f19e12f7dc38712b73b6. --- Doc/tools/templates/download.html | 20 ++++++++++---------- Doc/tools/templates/indexcontent.html | 20 ++++++++++---------- Doc/tools/templates/search.html | 20 ++++++++++---------- 3 files changed, 30 insertions(+), 30 deletions(-) diff --git a/Doc/tools/templates/download.html b/Doc/tools/templates/download.html index ca731293cbe124..6760ebaf13d4cc 100644 --- a/Doc/tools/templates/download.html +++ b/Doc/tools/templates/download.html @@ -14,16 +14,16 @@ {%- block extrahead -%} {{ super() }} - - - - - - - - - - + + + + + + + + + + {%- endblock -%} {% block body %} diff --git a/Doc/tools/templates/indexcontent.html b/Doc/tools/templates/indexcontent.html index cf768ed7bca0c6..1039d3cc9ca539 100644 --- a/Doc/tools/templates/indexcontent.html +++ b/Doc/tools/templates/indexcontent.html @@ -4,16 +4,16 @@ {%- endblock -%} {%- block extrahead -%} {{ super() }} - - - - - - - - - - + + + + + + + + + + {%- endblock -%} {% block body %}

{{ docstitle|e }}

diff --git a/Doc/tools/templates/search.html b/Doc/tools/templates/search.html index f097e15327480e..bece78bcd4d98e 100644 --- a/Doc/tools/templates/search.html +++ b/Doc/tools/templates/search.html @@ -3,16 +3,16 @@ {{ super() }} - - - - - - - - - - + + + + + + + + + + {% endblock %} {% block searchresults %}
From 9dcdb8d69e67594e7082aec88c9258d1f7eccf66 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Date: Mon, 7 Apr 2025 19:27:30 +0100 Subject: [PATCH 7/7] Apply suggestions from code review --- Doc/tools/templates/download.html | 10 +++++----- Doc/tools/templates/indexcontent.html | 4 ++-- Doc/tools/templates/search.html | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Doc/tools/templates/download.html b/Doc/tools/templates/download.html index 6760ebaf13d4cc..4645f7d394e29e 100644 --- a/Doc/tools/templates/download.html +++ b/Doc/tools/templates/download.html @@ -14,16 +14,16 @@ {%- block extrahead -%} {{ super() }} - + - + - + - - + + {%- endblock -%} {% block body %} diff --git a/Doc/tools/templates/indexcontent.html b/Doc/tools/templates/indexcontent.html index 1039d3cc9ca539..f8367f6e3e1029 100644 --- a/Doc/tools/templates/indexcontent.html +++ b/Doc/tools/templates/indexcontent.html @@ -6,14 +6,14 @@ {{ super() }} - + - + {%- endblock -%} {% block body %}

{{ docstitle|e }}

diff --git a/Doc/tools/templates/search.html b/Doc/tools/templates/search.html index bece78bcd4d98e..8ff7622389bc66 100644 --- a/Doc/tools/templates/search.html +++ b/Doc/tools/templates/search.html @@ -5,14 +5,14 @@ - + - + {% endblock %} {% block searchresults %}
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