From b5660533ccbb7cbbc8f47b476b4e24e6a328affc Mon Sep 17 00:00:00 2001 From: Yongzi Li <204532581+Yzi-Li@users.noreply.github.com> Date: Tue, 27 Oct 2026 18:27:48 +0800 Subject: [PATCH] gh-141674: Docs: Add 'Python' to the `` of the landing page (#141868) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Stan Ulbrych <stan@python.org> --- 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 697930bd233..3514a20f317 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -319,7 +319,7 @@ if any('htmlhelp' in arg for arg in sys.argv): 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 59a693c0000..cfcb1a9e218 100644 --- a/Doc/tools/templates/indexcontent.html +++ b/Doc/tools/templates/indexcontent.html @@ -1,6 +1,6 @@ {% extends "layout.html" %} {%- block htmltitle -%} -<title>{{ shorttitle }} +Python {{ release }} documentation {%- endblock -%} {%- block extrahead -%} {{ super() }}