Skip to content

Commit 5a00876

Browse files
committed
Add tarantool-site theme
1 parent dd172c0 commit 5a00876

File tree

252 files changed

+18614
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

252 files changed

+18614
-1
lines changed

_theme/tarantool-site/defindex.html

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{#
2+
basic/defindex.html
3+
~~~~~~~~~~~~~~~~~~~
4+
5+
Default template for the "index" page.
6+
7+
:copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS.
8+
:license: BSD, see LICENSE for details.
9+
#}
10+
{%- extends "layout.html" %}
11+
{% set title = _('Overview') %}
12+
{% block body %}
13+
<h1>{{ docstitle|e }}</h1>
14+
<p>
15+
{{ _('Welcome! This is') }}
16+
{% block description %}{{ _('the documentation for') }} {{ project|e }}
17+
{{ release|e }}{% if last_updated %}, {{ _('last updated') }} {{ last_updated|e }}{% endif %}{% endblock %}.
18+
</p>
19+
{% block tables %}
20+
<p><strong>{{ _('Indices and tables:') }}</strong></p>
21+
<table class="contentstable" align="center"><tr>
22+
<td width="50%">
23+
<p class="biglink"><a class="biglink" href="{{ pathto("contents") }}">{{ _('Complete Table of Contents') }}</a><br>
24+
<span class="linkdescr">{{ _('lists all sections and subsections') }}</span></p>
25+
<p class="biglink"><a class="biglink" href="{{ pathto("search") }}">{{ _('Search Page') }}</a><br>
26+
<span class="linkdescr">{{ _('search this documentation') }}</span></p>
27+
</td><td width="50%">
28+
<p class="biglink"><a class="biglink" href="{{ pathto("modindex") }}">{{ _('Global Module Index') }}</a><br>
29+
<span class="linkdescr">{{ _('quick access to all modules') }}</span></p>
30+
<p class="biglink"><a class="biglink" href="{{ pathto("genindex") }}">{{ _('General Index') }}</a><br>
31+
<span class="linkdescr">{{ _('all functions, classes, terms') }}</span></p>
32+
</td></tr>
33+
</table>
34+
{% endblock %}
35+
{% endblock %}
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
{#
2+
basic/domainindex.html
3+
~~~~~~~~~~~~~~~~~~~~~~
4+
5+
Template for domain indices (module index, ...).
6+
7+
:copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS.
8+
:license: BSD, see LICENSE for details.
9+
#}
10+
{%- extends "layout.html" %}
11+
{% set title = indextitle %}
12+
13+
{% block extrahead %}
14+
{{ super() }}
15+
{% if not embedded and collapse_index %}
16+
<script type="text/javascript">
17+
DOCUMENTATION_OPTIONS.COLLAPSE_INDEX = true;
18+
</script>
19+
{% endif %}
20+
{% endblock %}
21+
22+
{% block body %}
23+
<section class="b-block b-modindex-block-top">
24+
<div class="b-block-wrapper">
25+
{%- set groupid = idgen() %}
26+
27+
<h1 class="b-section-title" id="index">{{ indextitle }}</h1>
28+
29+
<div class="modindex-jumpbox">
30+
{%- for (letter, entries) in content %}
31+
<a href="#cap-{{ letter }}"><strong>{{ letter }}</strong></a>
32+
{%- if not loop.last %} | {% endif %}
33+
{%- endfor %}
34+
</div>
35+
</div>
36+
</section>
37+
38+
<section class="b-block b-modindex-block">
39+
<div class="b-block-wrapper">
40+
<table class="indextable modindextable"
41+
cellspacing="0"
42+
cellpadding="2">
43+
{%- for letter, entries in content %}
44+
<tr class="pcap">
45+
<td></td>
46+
<td>&#160;</td>
47+
<td></td>
48+
</tr>
49+
<tr class="cap" id="cap-{{ letter }}">
50+
<td></td>
51+
<td><strong>{{ letter }}</strong></td>
52+
<td></td>
53+
</tr>
54+
{%- for (name, grouptype, page, anchor,
55+
extra, qualifier, description) in entries %}
56+
<tr{% if grouptype == 2 %} class="cg-{{ groupid.current() }}"{% endif %}>
57+
<td>
58+
{% if grouptype == 1 -%}
59+
<img src="{{ pathto('_static/minus.png', 1) }}"
60+
class="toggler"
61+
id="toggle-{{ groupid.next() }}"
62+
style="display: none"
63+
alt="-" />
64+
{%- endif %}
65+
</td>
66+
<td>
67+
{% if grouptype == 2 %}&#160;&#160;&#160;{% endif %}
68+
{% if page %}<a href="{{ pathto(page) }}#{{ anchor }}">{% endif -%}
69+
<code class="xref">{{ name|e }}</code>
70+
{%- if page %}</a>{% endif %}
71+
{%- if extra %}<em>({{ extra|e }})</em>{% endif -%}
72+
</td>
73+
<td>
74+
{% if qualifier %}<strong>{{ qualifier|e }}:</strong>{% endif %}
75+
<em>{{ description|e }}</em>
76+
</td>
77+
</tr>
78+
{%- endfor %}
79+
{%- endfor %}
80+
</table>
81+
</div>
82+
</section>
83+
{% endblock %}
84+
85+
{# vim: syntax=htmldjango ts=2 sts=2 sw=2 expandtab #}

0 commit comments

Comments
 (0)