bpo-30607: Use external python-doc-theme (GH-2017)

This commit is contained in:
Jon Wayne Parrott 2018-03-01 13:02:50 -08:00 committed by Ned Deily
parent 5da8cfb838
commit bf63e8d55f
12 changed files with 80 additions and 585 deletions

View file

@ -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