From 547e972a5f5ac0ccdd113cdfaad674def2c98cd4 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Tue, 11 Jan 2022 17:32:42 +0100 Subject: [PATCH] [doc] Add license_url for python-docs-theme 2022.1. (GH-30527) (cherry picked from commit 6f05e1ec193c132015e9a23d1137b1731596f186) Co-authored-by: Julien Palard --- Doc/conf.py | 3 ++- Doc/requirements.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/conf.py b/Doc/conf.py index d2dff7d7a8d833..7e355bae46f03b 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 cb21ed20397b2f..1b75aed035ac9b 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