https://github.com/python/cpython/commit/b5660533ccbb7cbbc8f47b476b4e24e6a328affc
commit: b5660533ccbb7cbbc8f47b476b4e24e6a328affc
branch: main
author: Yongzi Li <204532581+yzi...@users.noreply.github.com>
committer: StanFromIreland <s...@python.org>
date: 2026-10-27T10:27:48Z
summary:
gh-141674: Docs: Add 'Python' to the `<title>` of the landing page (#141868)
Co-authored-by: Hugo van Kemenade <1324225+hug...@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+aa-tur...@users.noreply.github.com>
Co-authored-by: Stan Ulbrych <s...@python.org>
files:
M Doc/conf.py
M Doc/tools/templates/indexcontent.html
diff --git a/Doc/conf.py b/Doc/conf.py
index 697930bd2335929..3514a20f317124b 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -319,7 +319,7 @@
print("It may be removed in the future\n")
# Short title used e.g. for <title> HTML tags.
-html_short_title = f'{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 59a693c00003c45..cfcb1a9e218f82c 100644
--- a/Doc/tools/templates/indexcontent.html
+++ b/Doc/tools/templates/indexcontent.html
@@ -1,6 +1,6 @@
{% extends "layout.html" %}
{%- block htmltitle -%}
-<title>{{ shorttitle }}</title>
+<title>Python {{ release }} documentation</title>
{%- endblock -%}
{%- block extrahead -%}
{{ super() }}
_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: arch...@mail-archive.com