summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorINADA Naoki <methane@users.noreply.github.com>2017-02-20 00:46:24 (GMT)
committerGitHub <noreply@github.com>2017-02-20 00:46:24 (GMT)
commitf0174c69b7b8bd27ee32d96e890d665da29472af (patch)
tree61428a5b2be9c2f3a6957efccb16ec66ab97eb17
parent24bfe15e83c24bf2c2e2654050da809553789002 (diff)
downloadcpython-f0174c69b7b8bd27ee32d96e890d665da29472af.zip
cpython-f0174c69b7b8bd27ee32d96e890d665da29472af.tar.gz
cpython-f0174c69b7b8bd27ee32d96e890d665da29472af.tar.bz2
bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-179)
-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..d795c0a 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%">