diff options
Diffstat (limited to 'doc/_themes/pysidedocs/genindex-split.html')
-rw-r--r-- | doc/_themes/pysidedocs/genindex-split.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/_themes/pysidedocs/genindex-split.html b/doc/_themes/pysidedocs/genindex-split.html new file mode 100644 index 000000000..ab099e5bd --- /dev/null +++ b/doc/_themes/pysidedocs/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 %} |