Skip to content

Commit f0174c6

Browse files
authored
bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-179)
1 parent 24bfe15 commit f0174c6

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Doc/tools/templates/indexcontent.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1-
{% extends "defindex.html" %}
2-
{% block tables %}
1+
{% extends "layout.html" %}
2+
{%- block htmltitle -%}
3+
<title>{{ shorttitle }}</title>
4+
{%- endblock -%}
5+
{% block body %}
6+
<h1>{{ docstitle|e }}</h1>
7+
<p>
8+
{% trans %}Welcome! This is the documentation for Python {{ release }}.{% endtrans %}
9+
</p>
310
<p><strong>{% trans %}Parts of the documentation:{% endtrans %}</strong></p>
411
<table class="contentstable" align="center"><tr>
512
<td width="50%">

0 commit comments

Comments
 (0)