Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-180
)
  • Loading branch information
methane committed Feb 20, 2017
1 parent 98604c7 commit cf44d95
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions 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%">
Expand Down

0 comments on commit cf44d95

Please sign in to comment.