Skip to content

Commit 31554d0

Browse files
Set the index <title> directly and lowercase 'documentation'
1 parent 5063b5e commit 31554d0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎Doc/conf.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@
286286
print("It may be removed in the future\n")
287287

288288
# Short title used e.g. for <title> HTML tags.
289-
html_short_title = f'Python {release} Documentation'
289+
html_short_title = f'{release} documentation'
290290

291291
# Deployment preview information
292292
# (See .readthedocs.yml and https://docs.readthedocs.io/en/stable/reference/environment-variables.html)

‎Doc/tools/templates/indexcontent.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% extends "layout.html" %}
22
{%- block htmltitle -%}
3-
<title>{{ shorttitle }}</title>
3+
<title>Python {{ release }} documentation</title>
44
{%- endblock -%}
55
{%- block extrahead -%}
66
{{ super() }}

0 commit comments

Comments
 (0)