From: INADA Naoki Date: Mon, 20 Feb 2017 00:45:55 +0000 (+0900) Subject: bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-180) X-Git-Tag: v2.7.14rc1~271 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cf44d957ec177be62f5349ef88515190dcfccbd6;p=python bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-180) --- diff --git a/Doc/tools/templates/indexcontent.html b/Doc/tools/templates/indexcontent.html index 6488c1638f..5cba9733a3 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 %}