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

This commit is contained in:
Julien Palard 2022-01-11 17:32:42 +01:00 committed by GitHub
parent cedec19be8
commit 6f05e1ec19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View 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.
}

View 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