From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 11 Jan 2022 20:18:33 +0000 (-0800) Subject: [doc] Add license_url for python-docs-theme 2022.1. (GH-30527) (GH-30540) X-Git-Tag: v3.10.2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6f035c07e0aeff9120a45e668a383c985cd8861a;p=thirdparty%2FPython%2Fcpython.git [doc] Add license_url for python-docs-theme 2022.1. (GH-30527) (GH-30540) (cherry picked from commit 6f05e1ec193c132015e9a23d1137b1731596f186) Co-authored-by: Julien Palard Co-authored-by: Julien Palard --- diff --git a/Doc/conf.py b/Doc/conf.py index f626ce67b3c7..cbf201a314ee 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -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. } diff --git a/Doc/requirements.txt b/Doc/requirements.txt index dd3c8e62237c..95d320f4cb1f 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