mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Update template for newest Sphinx.
This commit is contained in:
parent
53bd2e1a03
commit
1df986b403
2 changed files with 4 additions and 3 deletions
|
@ -74,9 +74,6 @@ html_last_updated_fmt = '%b %d, %Y'
|
||||||
# typographically correct entities.
|
# typographically correct entities.
|
||||||
html_use_smartypants = True
|
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.
|
# Custom sidebar templates, filenames relative to this file.
|
||||||
html_sidebars = {
|
html_sidebars = {
|
||||||
'index': 'indexsidebar.html',
|
'index': 'indexsidebar.html',
|
||||||
|
@ -85,6 +82,7 @@ html_sidebars = {
|
||||||
# Additional templates that should be rendered to pages.
|
# Additional templates that should be rendered to pages.
|
||||||
html_additional_pages = {
|
html_additional_pages = {
|
||||||
'download': 'download.html',
|
'download': 'download.html',
|
||||||
|
'index': 'indexcontent.html',
|
||||||
}
|
}
|
||||||
|
|
||||||
# Output file base name for HTML help builder.
|
# Output file base name for HTML help builder.
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
{% extends "defindex.html" %}
|
||||||
|
{% block tables %}
|
||||||
<p><strong>Parts of the documentation:</strong></p>
|
<p><strong>Parts of the documentation:</strong></p>
|
||||||
<table class="contentstable" align="center"><tr>
|
<table class="contentstable" align="center"><tr>
|
||||||
<td width="50%">
|
<td width="50%">
|
||||||
|
@ -54,3 +56,4 @@
|
||||||
<p class="biglink"><a class="biglink" href="{{ pathto("copyright") }}">Copyright</a></p>
|
<p class="biglink"><a class="biglink" href="{{ pathto("copyright") }}">Copyright</a></p>
|
||||||
</td></tr>
|
</td></tr>
|
||||||
</table>
|
</table>
|
||||||
|
{% endblock %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue