]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[doc] Add license_url for python-docs-theme 2022.1. (GH-30527)
authorJulien Palard <julien@palard.fr>
Tue, 11 Jan 2022 16:32:42 +0000 (17:32 +0100)
committerGitHub <noreply@github.com>
Tue, 11 Jan 2022 16:32:42 +0000 (17:32 +0100)
Doc/conf.py
Doc/requirements.txt

index f626ce67b3c74269c4f22339f9428e287cf32f87..cbf201a314eec75ac85f7c08732f2a17d9696bea 100644 (file)
@@ -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.
 }
 
index 785da2c3217849ac965f49905589436432aa311b..0331a8dbebc46cb58397520fd4bd27e581a95812 100644 (file)
@@ -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