[Python-checkins] [doc] Add license_url for python-docs-theme 2022.1. (GH-30527) (GH-30541)

JulienPalard webhook-mailer at python.org
Tue Jan 11 15:18:49 EST 2022


https://github.com/python/cpython/commit/12cf91c3b17f6047eca4d7390741a37fc3bb03ca
commit: 12cf91c3b17f6047eca4d7390741a37fc3bb03ca
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: JulienPalard <julien at palard.fr>
date: 2022-01-11T21:18:45+01:00
summary:

[doc] Add license_url for python-docs-theme 2022.1. (GH-30527) (GH-30541)

(cherry picked from commit 6f05e1ec193c132015e9a23d1137b1731596f186)

Co-authored-by: Julien Palard <julien at palard.fr>

Co-authored-by: Julien Palard <julien at palard.fr>

files:
M Doc/conf.py
M Doc/requirements.txt

diff --git a/Doc/conf.py b/Doc/conf.py
index d2dff7d7a8d83..7e355bae46f03 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -70,7 +70,8 @@
 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 cb21ed20397b2..1b75aed035ac9 100644
--- a/Doc/requirements.txt
+++ b/Doc/requirements.txt
@@ -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



More information about the Python-checkins mailing list