]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Update for newest Sphinx.
authorGeorg Brandl <georg@python.org>
Sun, 9 Mar 2008 18:18:30 +0000 (18:18 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 9 Mar 2008 18:18:30 +0000 (18:18 +0000)
Doc/conf.py

index c718d8b4322fbb073c1809e52ba224c68812fa1e..82d16b86f5734b2a890a324227b2a08c02adb192 100644 (file)
@@ -14,6 +14,7 @@ sys.path.append('tools/sphinxext')
 # ---------------------
 
 extensions = ['sphinx.ext.refcounting', 'sphinx.ext.coverage']
+templates_path = ['tools/sphinxext']
 
 # General substitutions.
 project = 'Python'
@@ -73,16 +74,16 @@ html_last_updated_fmt = '%b %d, %Y'
 html_use_smartypants = True
 
 # 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.
 html_sidebars = {
-    'index': 'tools/sphinxext/indexsidebar.html',
+    'index': 'indexsidebar.html',
 }
 
 # Additional templates that should be rendered to pages.
 html_additional_pages = {
-    'download': 'tools/sphinxext/download.html',
+    'download': 'download.html',
 }
 
 # Output file base name for HTML help builder.