5
Template for domain indices (module index, ...).
7
:copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
8
:license: BSD, see LICENSE for details.
10
{% extends "layout.html" %}
11
{% set title = indextitle %}
14
{% if not embedded and collapse_index %}
15
<script type="text/javascript">
16
DOCUMENTATION_OPTIONS.COLLAPSE_INDEX = true;
22
{%- set curr_group = 0 %}
24
<h1>{{ indextitle }}</h1>
26
<div class="modindex-jumpbox">
27
{%- for (letter, entries) in content %}
28
<a href="#cap-{{ letter }}"><strong>{{ letter }}</strong></a>
29
{%- if not loop.last %} | {% endif %}
33
<table class="indextable modindextable" cellspacing="0" cellpadding="2">
34
{%- for letter, entries in content %}
35
<tr class="pcap"><td></td><td> </td><td></td></tr>
36
<tr class="cap"><td></td><td><a name="cap-{{ letter }}">
37
<strong>{{ letter }}</strong></a></td><td></td></tr>
38
{%- for (name, grouptype, page, anchor, extra, qualifier, description)
40
{%- if grouptype == 1 %}{% set curr_group = curr_group + 1 %}{% endif %}
41
<tr{% if grouptype == 2 %} class="cg-{{ curr_group }}"{% endif %}>
42
<td>{% if grouptype == 1 -%}
43
<img src="{{ pathto('_static/minus.png', 1) }}" id="toggle-{{ curr_group }}"
44
class="toggler" style="display: none" alt="-" />
46
<td>{% if grouptype == 2 %} {% endif %}
47
{% if page %}<a href="{{ pathto(page) }}#{{ anchor }}">{% endif -%}
48
<tt class="xref">{{ name|e }}</tt>
49
{%- if page %}</a>{% endif %}
50
{%- if extra %} <em>({{ extra|e }})</em>{% endif -%}
51
</td><td>{% if qualifier %}<strong>{{ qualifier|e }}:</strong>{% endif %}
52
<em>{{ description|e }}</em></td></tr>