diff options
author | Georg Brandl <georg@python.org> | 2008-04-19 21:28:38 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-04-19 21:28:38 +0000 |
commit | 1df986b403ec239f0f4f26cf5edc3729b144de53 (patch) | |
tree | 4d5ec6a35ea4fc99542ed5843791dfe68c38f63f | |
parent | 53bd2e1a036419083bf311621db14dee0f367100 (diff) | |
download | cpython-git-1df986b403ec239f0f4f26cf5edc3729b144de53.tar.gz |
Update template for newest Sphinx.
-rw-r--r-- | Doc/conf.py | 4 | ||||
-rw-r--r-- | Doc/tools/sphinxext/indexcontent.html | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/Doc/conf.py b/Doc/conf.py index 6cf643353f..45d40fbd43 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 218f346f54..67a9eaffec 100644 --- a/Doc/tools/sphinxext/indexcontent.html +++ b/Doc/tools/sphinxext/indexcontent.html @@ -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 %} |