8000 bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-… · python/cpython@3eea8c6 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3eea8c6

Browse files
authored
bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-165)
1 parent d4d4874 commit 3eea8c6

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)
0