diff options
author | INADA Naoki <methane@users.noreply.github.com> | 2017-02-19 17:07:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-19 17:07:32 (GMT) |
commit | 3eea8c67fa870c6e2b7a521d292afe7fe3e95f58 (patch) | |
tree | 2dd1347c3d39a9f0d8a5b2ea39888a92ac1ef3e0 | |
parent | d4d48743ac20854de104e08dd66972471684f676 (diff) | |
download | cpython-3eea8c67fa870c6e2b7a521d292afe7fe3e95f58.zip cpython-3eea8c67fa870c6e2b7a521d292afe7fe3e95f58.tar.gz cpython-3eea8c67fa870c6e2b7a521d292afe7fe3e95f58.tar.bz2 |
bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-165)
-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..2bf2cce 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%"> |