Update for newest Sphinx.

This commit is contained in:
Georg Brandl 2008-03-09 18:18:30 +00:00
parent c557db5268
commit 5bb647dfa8

View file

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