summaryrefslogtreecommitdiffstats
path: root/Doc/conf.py
diff options
context:
space:
mode:
authorJon Wayne Parrott <jonwayne@google.com>2018-03-01 21:02:50 (GMT)
committerNed Deily <nad@python.org>2018-03-01 21:02:50 (GMT)
commitbf63e8d55fd2853df3bb99d66de7f428107aadb3 (patch)
treeaabf6ec691ee99f0cb56fff1a3ac6ee5bb03ea98 /Doc/conf.py
parent5da8cfb838fa1bf3529c085c6dce1adf3d1eaf62 (diff)
downloadcpython-bf63e8d55fd2853df3bb99d66de7f428107aadb3.zip
cpython-bf63e8d55fd2853df3bb99d66de7f428107aadb3.tar.gz
cpython-bf63e8d55fd2853df3bb99d66de7f428107aadb3.tar.bz2
bpo-30607: Use external python-doc-theme (GH-2017)
Diffstat (limited to 'Doc/conf.py')
-rw-r--r--Doc/conf.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/conf.py b/Doc/conf.py
index 19a2f7d..d8efce0 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -46,9 +46,13 @@ exclude_patterns = [venvdir+'/*', 'README.rst']
# -----------------------
# Use our custom theme.
-html_theme = 'pydoctheme'
+html_theme = 'python_docs_theme'
html_theme_path = ['tools']
-html_theme_options = {'collapsiblesidebar': True}
+html_theme_options = {
+ 'collapsiblesidebar': True,
+ 'issues_url': 'https://docs.python.org/3/bugs.html',
+ 'root_include_title': False # We use the version switcher instead.
+}
# Short title used e.g. for <title> HTML tags.
html_short_title = '%s Documentation' % release