Replace tpo git repository URL by gitlab
[stem.git] / docs / _templates / layout.html
blob8429c245605a8192eb3392a247734ae4462a4ecd
1 {#
2 haiku/layout.html
3 ~~~~~~~~~~~~~~~~~
5 Sphinx layout template for the haiku theme.
7 :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
8 :license: BSD, see LICENSE for details.
9 #}
10 {% extends "basic/layout.html" %}
12 {% set css_files = css_files + ['_static/style.css'] %}
14 {# do not display relbars #}
15 {% block relbar1 %}{% endblock %}
16 {% block relbar2 %}{% endblock %}
18 {% macro nav() %}
19 <p>
20 {%- block haikurel1 %}
21 {%- endblock %}
23 <ul id="navbar">
24 <li><a href="{{ pathto(master_doc) }}">Home</a></li>
25 <li><a href="{{ pathto('tutorials') }}">Tutorials</a>
26 <ul>
27 <li><a href="{{ pathto('tutorials/the_little_relay_that_could') }}">Hello World</a></li>
28 <li><a href="{{ pathto('tutorials/to_russia_with_love') }}">Client Usage</a></li>
29 <li><a href="{{ pathto('tutorials/tortoise_and_the_hare') }}">Event Listening</a></li>
30 <li><a href="{{ pathto('tutorials/over_the_river') }}">Hidden Services</a></li>
31 <li><a href="{{ pathto('tutorials/mirror_mirror_on_the_wall') }}">Tor Descriptors</a></li>
32 <li><a href="{{ pathto('tutorials/east_of_the_sun') }}">Utilities</a></li>
33 <li><a href="{{ pathto('tutorials/down_the_rabbit_hole') }}">Interpreter</a></li>
34 <li><a href="{{ pathto('tutorials/double_double_toil_and_trouble') }}">Examples</a></li>
35 </ul>
36 </li>
37 <li><a href="{{ pathto('api') }}">API</a>
38 <ul>
39 <li><a href="{{ pathto('api/control') }}">stem.control</a></li>
40 <li><a href="{{ pathto('api/connection') }}">stem.connection</a></li>
41 <li><a href="{{ pathto('api/socket') }}">stem.socket</a></li>
42 <li><a href="{{ pathto('api/process') }}">stem.process</a></li>
43 <li><a href="{{ pathto('api/response') }}">stem.response</a></li>
44 <li><a href="{{ pathto('api/exit_policy') }}">stem.exit_policy</a></li>
45 <li><a href="{{ pathto('api/version') }}">stem.version</a></li>
46 <li><a href="{{ pathto('api') }}#descriptors">Descriptors</a></li>
47 <li><a href="{{ pathto('api') }}#utilities">Utilities</a></li>
48 </ul>
49 </li>
50 <li><a href="https://github.com/torproject/stem/">Development</a>
51 <ul>
52 <li><a href="{{ pathto('faq') }}">FAQ</a></li>
53 <li><a href="{{ pathto('change_log') }}">Change Log</a></li>
54 <li><a href="https://github.com/torproject/stem/issues/">Bug Tracker</a></li>
55 <li><a href="https://jenkins.torproject.org/job/stem-tor-ci/">Jenkins</a></li>
56 <li><a href="{{ pathto('download') }}">Download</a></li>
57 </ul>
58 </li>
59 <li><a href="{{ pathto('faq') }}#where-can-i-get-help">Contact</a>
60 <ul>
61 <li><a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev">Email List</a></li>
62 <li><a href="https://www.torproject.org/about/contact.html.en#irc">IRC</a></li>
63 <li><a href="https://www.atagar.com/contact/">Author</a></li>
64 </ul>
65 </li>
66 </ul>
68 {%- block haikurel2 %}
69 {%- endblock %}
70 </p>
71 {% endmacro %}
73 {% block content %}
74 <div class="header">
75 {%- block haikuheader %}
76 {%- if theme_full_logo != "false" %}
77 <a href="{{ pathto('index') }}">
78 <img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
79 </a>
80 {%- else %}
81 {%- if logo -%}
82 <img class="rightlogo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
83 {%- endif -%}
84 <h1 class="heading"><a href="{{ pathto('index') }}">
85 <span>{{ shorttitle|e }}</span></a></h1>
86 <h2 class="heading"><span>{{ title|striptags|e }}</span></h2>
87 {%- endif %}
88 {%- endblock %}
89 </div>
90 <div class="topnav">
91 {{ nav() }}
92 </div>
93 <div class="content">
94 {#{%- if display_toc %}
95 <div id="toc">
96 <h3>Table Of Contents</h3>
97 {{ toc }}
98 </div>
99 {%- endif %}#}
100 {% block body %}{% endblock %}
101 </div>
102 <div class="bottomnav">
103 </div>
104 {% endblock %}