aboutsummaryrefslogtreecommitdiffstats
path: root/doc/_themes/pysidedocs/modindex.html
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-10-17 15:28:36 -0300
committerHugo Lima <hugo.lima@openbossa.org>2009-10-17 15:28:36 -0300
commit111061c3fceb872d4efcafb65014bfd91cfd0051 (patch)
tree0ed5962bd356bb1551809b0722dc74d98a93872d /doc/_themes/pysidedocs/modindex.html
parent51168e70b530c6920411680d5e6dde7aeaba164c (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/modindex.html')
-rw-r--r--doc/_themes/pysidedocs/modindex.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/doc/_themes/pysidedocs/modindex.html b/doc/_themes/pysidedocs/modindex.html
new file mode 100644
index 000000000..0392edc80
--- /dev/null
+++ b/doc/_themes/pysidedocs/modindex.html
@@ -0,0 +1,42 @@
+{% extends "layout.html" %}
+{% set title = _('Global Module Index') %}
+{% block extrahead %}
+{{ super() }}
+{% if not embedded and collapse_modindex %}
+ <script type="text/javascript">
+ DOCUMENTATION_OPTIONS.COLLAPSE_MODINDEX = true;
+ </script>
+{% endif %}
+{% endblock %}
+{% block body %}
+
+ <h1 id="global-module-index">{{ _('Global Module Index') }}</h1>
+
+ {%- for letter in letters %}
+ <a href="#cap-{{ letter }}"><strong>{{ letter }}</strong></a> {% if not loop.last %}| {% endif %}
+ {%- endfor %}
+ <hr/>
+
+ <table width="100%" class="indextable" cellspacing="0" cellpadding="2">
+ {%- for modname, collapse, cgroup, indent, fname, synops, pform, dep, stripped in modindexentries %}
+ {%- if not modname -%}
+ <tr class="pcap"><td></td><td>&nbsp;</td><td></td></tr>
+ <tr class="cap"><td></td><td><a name="cap-{{ fname }}"><strong>{{ fname }}</strong></a></td><td></td></tr>
+ {%- else -%}
+ <tr{% if indent %} class="cg-{{ cgroup }}"{% endif %}>
+ <td>{% if collapse -%}
+ <img src="{{ pathto('_static/minus.png', 1) }}" id="toggle-{{ cgroup }}"
+ class="toggler" style="display: none" alt="-" />
+ {%- endif %}</td>
+ <td>{% if indent %}&nbsp;&nbsp;&nbsp;{% endif %}
+ {% if fname %}<a href="{{ fname }}">{% endif -%}
+ <tt class="xref">{{ stripped|e }}{{ modname|e }}</tt>
+ {%- if fname %}</a>{% endif %}
+ {%- if pform and pform[0] %} <em>({{ pform|join(', ') }})</em>{% endif -%}
+ </td><td>{% if dep %}<strong>{{ _('Deprecated')}}:</strong>{% endif %}
+ <em>{{ synops|e }}</em></td></tr>
+ {%- endif -%}
+ {% endfor %}
+ </table>
+
+{% endblock %}