Skip to content

Commit 6f035c0

Browse files
[doc] Add license_url for python-docs-theme 2022.1. (GH-30527) (GH-30540)
(cherry picked from commit 6f05e1e) Co-authored-by: Julien Palard <[email protected]> Co-authored-by: Julien Palard <[email protected]>
1 parent 19a8550 commit 6f035c0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Doc/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@
6969
html_theme_path = ['tools']
7070
html_theme_options = {
7171
'collapsiblesidebar': True,
72-
'issues_url': 'https://docs.python.org/3/bugs.html',
72+
'issues_url': '/bugs.html',
73+
'license_url': '/license.html',
7374
'root_include_title': False # We use the version switcher instead.
7475
}
7576

Doc/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ blurb
1313

1414
# The theme used by the documentation is stored separately, so we need
1515
# to install that as well.
16-
python-docs-theme
16+
python-docs-theme>=2022.1

0 commit comments

Comments
 (0)