mirror of
https://github.com/python/cpython.git
synced 2025-09-18 06:30:38 +00:00
Update for newest Sphinx.
This commit is contained in:
parent
c557db5268
commit
5bb647dfa8
1 changed files with 4 additions and 3 deletions
|
@ -14,6 +14,7 @@ sys.path.append('tools/sphinxext')
|
||||||
# ---------------------
|
# ---------------------
|
||||||
|
|
||||||
extensions = ['sphinx.ext.refcounting', 'sphinx.ext.coverage']
|
extensions = ['sphinx.ext.refcounting', 'sphinx.ext.coverage']
|
||||||
|
templates_path = ['tools/sphinxext']
|
||||||
|
|
||||||
# General substitutions.
|
# General substitutions.
|
||||||
project = 'Python'
|
project = 'Python'
|
||||||
|
@ -73,16 +74,16 @@ html_last_updated_fmt = '%b %d, %Y'
|
||||||
html_use_smartypants = True
|
html_use_smartypants = True
|
||||||
|
|
||||||
# Content template for the index page, filename relative to this file.
|
# Content template for the index page, filename relative to this file.
|
||||||
html_index = 'tools/sphinxext/indexcontent.html'
|
html_index = 'indexcontent.html'
|
||||||
|
|
||||||
# Custom sidebar templates, filenames relative to this file.
|
# Custom sidebar templates, filenames relative to this file.
|
||||||
html_sidebars = {
|
html_sidebars = {
|
||||||
'index': 'tools/sphinxext/indexsidebar.html',
|
'index': 'indexsidebar.html',
|
||||||
}
|
}
|
||||||
|
|
||||||
# Additional templates that should be rendered to pages.
|
# Additional templates that should be rendered to pages.
|
||||||
html_additional_pages = {
|
html_additional_pages = {
|
||||||
'download': 'tools/sphinxext/download.html',
|
'download': 'download.html',
|
||||||
}
|
}
|
||||||
|
|
||||||
# Output file base name for HTML help builder.
|
# Output file base name for HTML help builder.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue