diff options
| author | gbrandl <devnull@localhost> | 2009-01-05 19:19:28 +0100 |
|---|---|---|
| committer | gbrandl <devnull@localhost> | 2009-01-05 19:19:28 +0100 |
| commit | 9d7be98a2d69b979d8c1be5b408ba15c657b37b6 (patch) | |
| tree | d254f843210f59cdb14c2f73cc66e6a31a341768 /sphinx/themes/basic/genindex-split.html | |
| parent | a104927be918b503769e298df9c4ba43a7e1a3e9 (diff) | |
| download | sphinx-9d7be98a2d69b979d8c1be5b408ba15c657b37b6.tar.gz | |
Create themes/ subdirectory and move stuff from templates/ and static/ there.
Diffstat (limited to 'sphinx/themes/basic/genindex-split.html')
| -rw-r--r-- | sphinx/themes/basic/genindex-split.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sphinx/themes/basic/genindex-split.html b/sphinx/themes/basic/genindex-split.html new file mode 100644 index 00000000..ab099e5b --- /dev/null +++ b/sphinx/themes/basic/genindex-split.html @@ -0,0 +1,30 @@ +{% extends "layout.html" %} +{% set title = _('Index') %} +{% block body %} + + <h1 id="index">{{ _('Index') }}</h1> + + <p>{{ _('Index pages by letter') }}:</p> + + <p>{% for key, dummy in genindexentries -%} + <a href="{{ pathto('genindex-' + key) }}"><strong>{{ key }}</strong></a> + {% if not loop.last %}| {% endif %} + {%- endfor %}</p> + + <p><a href="{{ pathto('genindex-all') }}"><strong>{{ _('Full index on one page') }}</strong> + ({{ _('can be huge') }})</a></p> + +{% endblock %} + +{% block sidebarrel %} +{% if split_index %} + <h4>Index</h4> + <p>{% for key, dummy in genindexentries -%} + <a href="{{ pathto('genindex-' + key) }}"><strong>{{ key }}</strong></a> + {% if not loop.last %}| {% endif %} + {%- endfor %}</p> + + <p><a href="{{ pathto('genindex-all') }}"><strong>{{ _('Full index on one page') }}</strong></a></p> +{% endif %} + {{ super() }} +{% endblock %} |
