From: INADA Naoki Date: Mon, 20 Feb 2017 00:46:24 +0000 (+0900) Subject: bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-179) X-Git-Tag: v3.5.4rc1~341 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f0174c69b7b8bd27ee32d96e890d665da29472af;p=python bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-179) --- diff --git a/Doc/tools/templates/indexcontent.html b/Doc/tools/templates/indexcontent.html index 1076c1f51b..d795c0a558 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 %}