Visitar URL original
[3.6] bpo-29520: fix deprecation warning from 'defindex' template by methane · Pull Request #178 · python/cpython · GitHub
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-165
)
  • Loading branch information
methane committed Feb 20, 2017
commit dbe3f9c8455d8d5fd25c689173cd5ea85ea0af1f
11 changes: 9 additions & 2 deletions Doc/tools/templates/indexcontent.html
Original file line number Diff line number Diff line change
@@ -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