mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-30607: Use external python-doc-theme (GH-2017)
This commit is contained in:
parent
5da8cfb838
commit
bf63e8d55f
12 changed files with 80 additions and 585 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue