From: INADA Naoki Date: Sun, 19 Feb 2017 17:07:32 +0000 (+0900) Subject: bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-165) X-Git-Tag: v3.7.0a1~1320 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3eea8c6;p=python bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-165) --- diff --git a/Doc/tools/templates/indexcontent.html b/Doc/tools/templates/indexcontent.html index 1076c1f51b..2bf2cce33f 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 -%} +{{ shorttitle }} +{%- endblock -%} +{% block body %} +

{{ docstitle|e }}

+

+ {% trans %}Welcome! This is the documentation for Python {{ release }}{% endtrans %} +

{% trans %}Parts of the documentation:{% endtrans %}