From f3a515984430c932989adec7378d4e4fc130cdb7 Mon Sep 17 00:00:00 2001
From: Yzi-Li <204532581+Yzi-Li@users.noreply.github.com>
Date: Sun, 23 Nov 2025 12:47:54 +0800
Subject: [PATCH 1/4] Add Python in docs title
---
Doc/conf.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Doc/conf.py b/Doc/conf.py
index a4275835059efaa..4bed26634fb554d 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -286,7 +286,7 @@
print("It may be removed in the future\n")
# Short title used e.g. for
HTML tags.
-html_short_title = f'{release} Documentation'
+html_short_title = f'Python {".".join(release.split(".")[:2])} Documentation'
# Deployment preview information
# (See .readthedocs.yml and https://docs.readthedocs.io/en/stable/reference/environment-variables.html)
From fcd20777b89e9f43c217255f3b3e624682493c59 Mon Sep 17 00:00:00 2001
From: Yongzi Li <204532581+Yzi-Li@users.noreply.github.com>
Date: Sun, 23 Nov 2025 14:48:45 +0800
Subject: [PATCH 2/4] Update Doc/conf.py
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
---
Doc/conf.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Doc/conf.py b/Doc/conf.py
index 4bed26634fb554d..6294fc588b4a81c 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -286,7 +286,7 @@
print("It may be removed in the future\n")
# Short title used e.g. for HTML tags.
-html_short_title = f'Python {".".join(release.split(".")[:2])} Documentation'
+html_short_title = f'Python {version} Documentation'
# Deployment preview information
# (See .readthedocs.yml and https://docs.readthedocs.io/en/stable/reference/environment-variables.html)
From 5063b5ea88736a904fb47aa54105bc471313074d Mon Sep 17 00:00:00 2001
From: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Date: Tue, 25 Nov 2025 01:28:33 +0000
Subject: [PATCH 3/4] Update Doc/conf.py
---
Doc/conf.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Doc/conf.py b/Doc/conf.py
index 6294fc588b4a81c..76423b370c6e270 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -286,7 +286,7 @@
print("It may be removed in the future\n")
# Short title used e.g. for HTML tags.
-html_short_title = f'Python {version} Documentation'
+html_short_title = f'Python {release} Documentation'
# Deployment preview information
# (See .readthedocs.yml and https://docs.readthedocs.io/en/stable/reference/environment-variables.html)
From 31554d0afef5e58865ceff284783370b0859ddb9 Mon Sep 17 00:00:00 2001
From: Stan Ulbrych
Date: Mon, 26 Oct 2026 20:35:03 +0000
Subject: [PATCH 4/4] Set the index `` directly and lowercase
'documentation'
---
Doc/conf.py | 2 +-
Doc/tools/templates/indexcontent.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/conf.py b/Doc/conf.py
index 76423b370c6e270..12ddee2987ec2a0 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -286,7 +286,7 @@
print("It may be removed in the future\n")
# Short title used e.g. for HTML tags.
-html_short_title = f'Python {release} Documentation'
+html_short_title = f'{release} documentation'
# Deployment preview information
# (See .readthedocs.yml and https://docs.readthedocs.io/en/stable/reference/environment-variables.html)
diff --git a/Doc/tools/templates/indexcontent.html b/Doc/tools/templates/indexcontent.html
index 544cc4234f441e9..285e02e79db6f41 100644
--- a/Doc/tools/templates/indexcontent.html
+++ b/Doc/tools/templates/indexcontent.html
@@ -1,6 +1,6 @@
{% extends "layout.html" %}
{%- block htmltitle -%}
-{{ shorttitle }}
+Python {{ release }} documentation
{%- endblock -%}
{%- block extrahead -%}
{{ super() }}