diff options
author | INADA Naoki <methane@users.noreply.github.com> | 2017-02-20 00:46:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-20 00:46:46 (GMT) |
commit | 7970cd483346dfd7723da214fb27399ecc574095 (patch) | |
tree | e52908259c3eb126cc8f734389e689ae71425d1d /Doc/tools | |
parent | b121d737fe60e56dac5a44535e02089c6c02613d (diff) | |
download | cpython-7970cd483346dfd7723da214fb27399ecc574095.zip cpython-7970cd483346dfd7723da214fb27399ecc574095.tar.gz cpython-7970cd483346dfd7723da214fb27399ecc574095.tar.bz2 |
bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-178)
Diffstat (limited to 'Doc/tools')
-rw-r--r-- | Doc/tools/templates/indexcontent.html | 11 |
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%"> |