]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[doc] Add license_url for python-docs-theme 2022.1. (GH-30527) (GH-30541)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 11 Jan 2022 20:18:45 +0000 (12:18 -0800)
committerGitHub <noreply@github.com>
Tue, 11 Jan 2022 20:18:45 +0000 (21:18 +0100)
(cherry picked from commit 6f05e1ec193c132015e9a23d1137b1731596f186)

Co-authored-by: Julien Palard <julien@palard.fr>
Co-authored-by: Julien Palard <julien@palard.fr>
Doc/conf.py
Doc/requirements.txt

index d2dff7d7a8d8337bf6defdb23155375154363c1b..7e355bae46f03b0372c340af183acbb45a9f61d8 100644 (file)
@@ -70,7 +70,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 cb21ed20397b2fe6124ca5b0b4feb65c5e7e5706..1b75aed035ac9b1955747283407e20c53d60ee2a 100644 (file)
@@ -13,4 +13,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