From: Georg Brandl Date: Sat, 19 Apr 2008 21:28:38 +0000 (+0000) Subject: Update template for newest Sphinx. X-Git-Tag: v2.6a3~150 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1df986b403ec239f0f4f26cf5edc3729b144de53;p=thirdparty%2FPython%2Fcpython.git Update template for newest Sphinx. --- diff --git a/Doc/conf.py b/Doc/conf.py index 6cf643353f84..45d40fbd4355 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -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. diff --git a/Doc/tools/sphinxext/indexcontent.html b/Doc/tools/sphinxext/indexcontent.html index 218f346f54cc..67a9eaffec70 100644 --- a/Doc/tools/sphinxext/indexcontent.html +++ b/Doc/tools/sphinxext/indexcontent.html @@ -1,3 +1,5 @@ +{% extends "defindex.html" %} +{% block tables %}

Parts of the documentation:

@@ -54,3 +56,4 @@
+{% endblock %}