summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorINADA Naoki <methane@users.noreply.github.com>2017-02-19 17:07:32 (GMT)
committerGitHub <noreply@github.com>2017-02-19 17:07:32 (GMT)
commit3eea8c67fa870c6e2b7a521d292afe7fe3e95f58 (patch)
tree2dd1347c3d39a9f0d8a5b2ea39888a92ac1ef3e0 /Doc/tools
parentd4d48743ac20854de104e08dd66972471684f676 (diff)
downloadcpython-3eea8c67fa870c6e2b7a521d292afe7fe3e95f58.zip
cpython-3eea8c67fa870c6e2b7a521d292afe7fe3e95f58.tar.gz
cpython-3eea8c67fa870c6e2b7a521d292afe7fe3e95f58.tar.bz2
bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-165)
Diffstat (limited to 'Doc/tools')
-rw-r--r--Doc/tools/templates/indexcontent.html11
1 files changed, 9 insertions, 2 deletions
diff --git a/Doc/tools/templates/indexcontent.html b/Doc/tools/templates/indexcontent.html
index 1076c1f..2bf2cce 100644
--- a/Doc/tools/templates/indexcontent.html
+++ b/Doc/tools/templates/indexcontent.html
@@ -1,5 +1,12 @@
-{% extends "defindex.html" %}
-{% block tables %}
+{% extends "layout.html" %}
+{%- block htmltitle -%}
+<title>{{ shorttitle }}</title>
+{%- endblock -%}
+{% block body %}
+ <h1>{{ docstitle|e }}</h1>
+ <p>
+ {% trans %}Welcome! This is the documentation for Python {{ release }}{% endtrans %}
+ </p>
<p><strong>{% trans %}Parts of the documentation:{% endtrans %}</strong></p>
<table class="contentstable" align="center"><tr>
<td width="50%">