summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Palard <julien@palard.fr>2022-01-11 16:32:42 (GMT)
committerGitHub <noreply@github.com>2022-01-11 16:32:42 (GMT)
commit6f05e1ec193c132015e9a23d1137b1731596f186 (patch)
tree9f30b5dabfb8af84428a9cce3ceda7854f9fbd8f
parentcedec19be81e6bd153678bfb28c8e217af8bda58 (diff)
downloadcpython-6f05e1ec193c132015e9a23d1137b1731596f186.zip
cpython-6f05e1ec193c132015e9a23d1137b1731596f186.tar.gz
cpython-6f05e1ec193c132015e9a23d1137b1731596f186.tar.bz2
[doc] Add license_url for python-docs-theme 2022.1. (GH-30527)
-rw-r--r--Doc/conf.py3
-rw-r--r--Doc/requirements.txt2
2 files changed, 3 insertions, 2 deletions
diff --git a/Doc/conf.py b/Doc/conf.py
index f626ce6..cbf201a 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -69,7 +69,8 @@ html_theme = 'python_docs_theme'
html_theme_path = ['tools']
html_theme_options = {
'collapsiblesidebar': True,
- 'issues_url': 'https://docs.python.org/3/bugs.html',
+ 'issues_url': '/bugs.html',
+ 'license_url': '/license.html',
'root_include_title': False # We use the version switcher instead.
}
diff --git a/Doc/requirements.txt b/Doc/requirements.txt
index 785da2c..0331a8d 100644
--- a/Doc/requirements.txt
+++ b/Doc/requirements.txt
@@ -9,4 +9,4 @@ blurb
# The theme used by the documentation is stored separately, so we need
# to install that as well.
-python-docs-theme
+python-docs-theme>=2022.1