diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2009-10-17 15:28:36 -0300 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2009-10-17 15:28:36 -0300 |
commit | 111061c3fceb872d4efcafb65014bfd91cfd0051 (patch) | |
tree | 0ed5962bd356bb1551809b0722dc74d98a93872d /doc/_themes/pysidedocs/genindex-split.html | |
parent | 51168e70b530c6920411680d5e6dde7aeaba164c (diff) |
Added a new sphinx theme for APIExtractor documentation.
This theme should be used on all sphinx-based pyside documentation.
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 %} |