buildframework/helium/external/python/lib/2.5/Sphinx-0.5.1-py2.5.egg/sphinx/templates/genindex-single.html
equal
deleted
inserted
replaced
1 {% extends "layout.html" %} |
|
2 {% set title = _('Index') %} |
|
3 {% block body %} |
|
4 |
|
5 <h1 id="index">{% trans key=key %}Index – {{ key }}{% endtrans %}</h1> |
|
6 |
|
7 <table width="100%" class="indextable"><tr><td width="33%" valign="top"> |
|
8 <dl> |
|
9 {%- set breakat = count // 2 %} |
|
10 {%- set numcols = 1 %} |
|
11 {%- set numitems = 0 %} |
|
12 {% for entryname, (links, subitems) in entries %} |
|
13 <dt>{%- if links -%}<a href="{{ links[0] }}">{{ entryname|e }}</a> |
|
14 {%- for link in links[1:] %}, <a href="{{ link }}">[{{ loop.index }}]</a>{% endfor -%} |
|
15 {%- else -%} |
|
16 {{ entryname|e }} |
|
17 {%- endif -%}</dt> |
|
18 {%- if subitems %} |
|
19 <dd><dl> |
|
20 {%- for subentryname, subentrylinks in subitems %} |
|
21 <dt><a href="{{ subentrylinks[0] }}">{{ subentryname|e }}</a> |
|
22 {%- for link in subentrylinks[1:] %}, <a href="{{ link }}">[{{ loop.index }}]</a>{% endfor -%} |
|
23 </dt> |
|
24 {%- endfor %} |
|
25 </dl></dd> |
|
26 {%- endif -%} |
|
27 {%- set numitems = numitems + 1 + (subitems|length) -%} |
|
28 {%- if numcols < 2 and numitems > breakat -%} |
|
29 {%- set numcols = numcols+1 -%} |
|
30 </dl></td><td width="33%" valign="top"><dl> |
|
31 {%- endif -%} |
|
32 {%- endfor %} |
|
33 </dl></td></tr></table> |
|
34 |
|
35 {% endblock %} |
|
36 |
|
37 {% block sidebarrel %} |
|
38 <h4>Index</h4> |
|
39 <p>{% for key, dummy in genindexentries -%} |
|
40 <a href="{{ pathto('genindex-' + key) }}"><strong>{{ key }}</strong></a> |
|
41 {% if not loop.last %}| {% endif %} |
|
42 {%- endfor %}</p> |
|
43 |
|
44 <p><a href="{{ pathto('genindex-all') }}"><strong>{{ _('Full index on one page') }}</strong></a></p> |
|
45 {{ super() }} |
|
46 {% endblock %} |
|