]> granicus.if.org Git - python/commitdiff
Update template for newest Sphinx.
authorGeorg Brandl <georg@python.org>
Sat, 19 Apr 2008 21:28:38 +0000 (21:28 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 19 Apr 2008 21:28:38 +0000 (21:28 +0000)
Doc/conf.py
Doc/tools/sphinxext/indexcontent.html

index 6cf643353f84466b22cc601f2a553f59eb1f2259..45d40fbd43553dbf527e0d589709a23925320a25 100644 (file)
@@ -74,9 +74,6 @@ html_last_updated_fmt = '%b %d, %Y'
 # typographically correct entities.
 html_use_smartypants = True
 
-# Content template for the index page, filename relative to this file.
-html_index = 'indexcontent.html'
-
 # Custom sidebar templates, filenames relative to this file.
 html_sidebars = {
     'index': 'indexsidebar.html',
@@ -85,6 +82,7 @@ html_sidebars = {
 # Additional templates that should be rendered to pages.
 html_additional_pages = {
     'download': 'download.html',
+    'index': 'indexcontent.html',
 }
 
 # Output file base name for HTML help builder.
index 218f346f54ccc921483933de90f2b63b5b664ab9..67a9eaffec70f51262b9ce8c19a4aca8f346bdbe 100644 (file)
@@ -1,3 +1,5 @@
+{% extends "defindex.html" %}
+{% block tables %}
   <p><strong>Parts of the documentation:</strong></p>
   <table class="contentstable" align="center"><tr>
     <td width="50%">
@@ -54,3 +56,4 @@
       <p class="biglink"><a class="biglink" href="{{ pathto("copyright") }}">Copyright</a></p>
     </td></tr>
   </table>
+{% endblock %}