diff options
author | Pauli Virtanen <pav@iki.fi> | 2017-11-18 18:36:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-18 18:36:01 +0100 |
commit | c41961313e7ddab6563bd82a51ee512a5c44e785 (patch) | |
tree | 8f4ea406893d7ce45df5c00d983ebf259c46804e | |
parent | e5f4ac0f800e42698aacc9bfb63bf402fdd0c70c (diff) | |
parent | c9fad8720395d02a7a9fd2998f06880d9bdeda60 (diff) | |
download | numpy-c41961313e7ddab6563bd82a51ee512a5c44e785.tar.gz |
Merge pull request #10049 from charris/fix-none-in-docs
DOC: Add copy of deprecated defindex.html template.
-rw-r--r-- | doc/source/_templates/defindex.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/source/_templates/defindex.html b/doc/source/_templates/defindex.html new file mode 100644 index 000000000..8eaadecb9 --- /dev/null +++ b/doc/source/_templates/defindex.html @@ -0,0 +1,35 @@ +{# + basic/defindex.html + ~~~~~~~~~~~~~~~~~~~ + + Default template for the "index" page. + + :copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS. + :license: BSD, see LICENSE for details. +#} +{%- extends "layout.html" %} +{% set title = _('Overview') %} +{% block body %} + <h1>{{ docstitle|e }}</h1> + <p> + {{ _('Welcome! This is') }} + {% block description %}{{ _('the documentation for') }} {{ project|e }} + {{ release|e }}{% if last_updated %}, {{ _('last updated') }} {{ last_updated|e }}{% endif %}{% endblock %}. + </p> + {% block tables %} + <p><strong>{{ _('Indices and tables:') }}</strong></p> + <table class="contentstable"><tr> + <td style="width: 50%"> + <p class="biglink"><a class="biglink" href="{{ pathto("contents") }}">{{ _('Complete Table of Contents') }}</a><br> + <span class="linkdescr">{{ _('lists all sections and subsections') }}</span></p> + <p class="biglink"><a class="biglink" href="{{ pathto("search") }}">{{ _('Search Page') }}</a><br> + <span class="linkdescr">{{ _('search this documentation') }}</span></p> + </td><td style="width: 50%"> + <p class="biglink"><a class="biglink" href="{{ pathto("modindex") }}">{{ _('Global Module Index') }}</a><br> + <span class="linkdescr">{{ _('quick access to all modules') }}</span></p> + <p class="biglink"><a class="biglink" href="{{ pathto("genindex") }}">{{ _('General Index') }}</a><br> + <span class="linkdescr">{{ _('all functions, classes, terms') }}</span></p> + </td></tr> + </table> + {% endblock %} +{% endblock %} |