]> granicus.if.org Git - python/commitdiff
bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-165)
authorINADA Naoki <methane@users.noreply.github.com>
Sun, 19 Feb 2017 17:07:32 +0000 (02:07 +0900)
committerGitHub <noreply@github.com>
Sun, 19 Feb 2017 17:07:32 +0000 (02:07 +0900)
Doc/tools/templates/indexcontent.html

index 1076c1f51b7d194b72293e1969b972f39a5dbbf7..2bf2cce33f2345026df0afbea1e51974258bc85c 100644 (file)
@@ -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%">