From 06bc6b32f73dbcbb51111fc321670d1cdcc41127 Mon Sep 17 00:00:00 2001 From: Jaysin Shukla Date: Sun, 19 Feb 2017 12:17:36 +0530 Subject: [PATCH] [FIX] Fixing issue #29520 by copying `defindex.html` template which will depricate in next stable version of Sphinx library. --- Doc/tools/templates/defindex.html | 35 +++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Doc/tools/templates/defindex.html diff --git a/Doc/tools/templates/defindex.html b/Doc/tools/templates/defindex.html new file mode 100644 index 00000000000000..020f7e3964080a --- /dev/null +++ b/Doc/tools/templates/defindex.html @@ -0,0 +1,35 @@ +{# + basic/defindex.html + ~~~~~~~~~~~~~~~~~~~ + + Default template for the "index" page. + + :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS. + :license: BSD, see LICENSE for details. +#} +{%- extends "layout.html" %} +{% set title = _('Overview') %} +{% block body %} +

{{ docstitle|e }}

+

+ {{ _('Welcome! This is') }} + {% block description %}{{ _('the documentation for') }} {{ project|e }} + {{ release|e }}{% if last_updated %}, {{ _('last updated') }} {{ last_updated|e }}{% endif %}{% endblock %}. +

+ {% block tables %} +

{{ _('Indices and tables:') }}

+ + +
+ + + + + +
+ {% endblock %} +{% endblock %}