Skip to content

Commit 12cf91c

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

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
@@ -70,7 +70,8 @@
7070
html_theme_path = ['tools']
7171
html_theme_options = {
7272
'collapsiblesidebar': True,
73-
'issues_url': 'https://docs.python.org/3/bugs.html',
73+
'issues_url': '/bugs.html',
74+
'license_url': '/license.html',
7475
'root_include_title': False # We use the version switcher instead.
7576
}
7677

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)