CLAHE Python bindings
[profile/ivi/opencv.git] / doc / _themes / blue / layout.html
1 {#
2     basic/layout.html
3     ~~~~~~~~~~~~~~~~~
4
5     Master layout template for Sphinx themes.
6
7     :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
8     :license: BSD, see LICENSE for details.
9 #}
10 {%- block doctype -%}
11 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
12   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
13 {%- endblock %}
14 {% set script_files = script_files + [pathto("_static/insertIframe.js", 1)] %}
15 {%- set reldelim1 = reldelim1 is not defined and ' &raquo;' or reldelim1 %}
16 {%- set reldelim2 = reldelim2 is not defined and ' |' or reldelim2 %}
17 {%- set render_sidebar = (not embedded) and (not theme_nosidebar|tobool) and
18                          (sidebars != []) %}
19 {%- set url_root = pathto('', 1) %}
20 {%- if url_root == '#' %}{% set url_root = '' %}{% endif %}
21 <script type="text/javascript">
22
23   var _gaq = _gaq || [];
24   _gaq.push(['_setAccount', 'UA-33108845-1']);
25   _gaq.push(['_setDomainName', 'opencv.org']);
26   _gaq.push(['_trackPageview']);
27
28   (function() {
29     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
30     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
31     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
32   })();
33
34 </script>
35 {%- macro relbar() %}
36     <div class="related">
37       <h3>{{ _('Navigation') }}</h3>
38       <ul>
39         {%- for rellink in rellinks %}
40         <li class="right" {% if loop.first %}style="margin-right: 10px"{% endif %}>
41           <a href="{{ pathto(rellink[0]) }}" title="{{ rellink[1]|striptags|e }}"
42              {{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a>
43           {%- if not loop.first %}{{ reldelim2 }}{% endif %}</li>
44         {%- endfor %}
45         {%- block rootrellink %}
46         <li><a href="{{ pathto(master_doc) }}">{{ shorttitle|e }}</a>{{ reldelim1 }}</li>
47         {%- endblock %}
48         {%- for parent in parents %}
49           <li><a href="{{ parent.link|e }}" {% if loop.last %}{{ accesskey("U") }}{% endif %}>{{ parent.title }}</a>{{ reldelim1 }}</li>
50         {%- endfor %}
51         {%- block relbaritems %} {% endblock %}
52       </ul>
53     </div>
54 {%- endmacro %}
55
56 {%- macro sidebar() %}
57       {%- if render_sidebar %}
58       <div class="sphinxsidebar">
59         <div class="sphinxsidebarwrapper">
60           {%- block sidebarlogo %}
61           {%- if logo %}
62             <p class="logo"><a href="{{ pathto(master_doc) }}">
63               <img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
64             </a></p>
65           {%- endif %}
66           {%- endblock %}
67           {%- if sidebars == None %}
68             {%- block sidebarsearch %}
69             {%- include "searchbox.html" %}
70             {%- endblock %}
71           {%- endif %}
72           {%- if sidebars != None %}
73             {#- new style sidebar: explicitly include/exclude templates #}
74             {%- for sidebartemplate in sidebars %}
75             {%- include sidebartemplate %}
76             {%- endfor %}
77           {%- else %}
78             {#- old style sidebars: using blocks -- should be deprecated #}
79             {%- block sidebartoc %}
80             {%- include "localtoc.html" %}
81             {%- endblock %}
82             {%- block sidebarrel %}
83             {%- include "relations.html" %}
84             {%- endblock %}
85             {%- block sidebarsourcelink %}
86             {%- include "sourcelink.html" %}
87             {%- endblock %}
88             {%- if customsidebar %}
89             {%- include customsidebar %}
90             {%- endif %}
91           {%- endif %}
92         </div>
93       </div>
94       {%- endif %}
95 {%- endmacro %}
96
97 <html xmlns="http://www.w3.org/1999/xhtml">
98   <head>
99     <meta http-equiv="Content-Type" content="text/html; charset={{ encoding }}" />
100     {{ metatags }}
101     {%- if not embedded and docstitle %}
102       {%- set titlesuffix = " &mdash; "|safe + docstitle|e %}
103     {%- else %}
104       {%- set titlesuffix = "" %}
105     {%- endif %}
106     {%- block htmltitle %}
107     <title>{{ title|striptags|e }}{{ titlesuffix }}</title>
108     {%- endblock %}
109     <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
110     <link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
111     {%- for cssfile in css_files %}
112     <link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />
113     {%- endfor %}
114     {%- if not embedded %}
115     <script type="text/javascript">
116       var DOCUMENTATION_OPTIONS = {
117         URL_ROOT:    '{{ url_root }}',
118         VERSION:     '{{ release|e }}',
119         COLLAPSE_INDEX: false,
120         FILE_SUFFIX: '{{ '' if no_search_suffix else file_suffix }}',
121         HAS_SOURCE:  {{ has_source|lower }}
122       };
123     </script>
124     {%- for scriptfile in script_files %}
125     <script type="text/javascript" src="{{ pathto(scriptfile, 1) }}"></script>
126     {%- endfor %}
127     {%- if use_opensearch %}
128     <link rel="search" type="application/opensearchdescription+xml"
129           title="{% trans docstitle=docstitle|e %}Search within {{ docstitle }}{% endtrans %}"
130           href="{{ pathto('_static/opensearch.xml', 1) }}"/>
131     {%- endif %}
132     {%- if favicon %}
133     <link rel="shortcut icon" href="{{ pathto('_static/' + favicon, 1) }}"/>
134     {%- endif %}
135     {%- endif %}
136 {%- block linktags %}
137     {%- if hasdoc('about') %}
138     <link rel="author" title="{{ _('About these documents') }}" href="{{ pathto('about') }}" />
139     {%- endif %}
140     {%- if hasdoc('genindex') %}
141     <link rel="index" title="{{ _('Index') }}" href="{{ pathto('genindex') }}" />
142     {%- endif %}
143     {%- if hasdoc('search') %}
144     <link rel="search" title="{{ _('Search') }}" href="{{ pathto('search') }}" />
145     {%- endif %}
146     {%- if hasdoc('copyright') %}
147     <link rel="copyright" title="{{ _('Copyright') }}" href="{{ pathto('copyright') }}" />
148     {%- endif %}
149     <link rel="top" title="{{ docstitle|e }}" href="{{ pathto('index') }}" />
150     {%- if parents %}
151     <link rel="up" title="{{ parents[-1].title|striptags|e }}" href="{{ parents[-1].link|e }}" />
152     {%- endif %}
153     {%- if next %}
154     <link rel="next" title="{{ next.title|striptags|e }}" href="{{ next.link|e }}" />
155     {%- endif %}
156     {%- if prev %}
157     <link rel="prev" title="{{ prev.title|striptags|e }}" href="{{ prev.link|e }}" />
158     {%- endif %}
159 {%- endblock %}
160 {%- block extrahead %} {% endblock %}
161   </head>
162   <body>
163 {%- block header %}{% endblock %}
164
165 {%- block relbar1 %}{{ relbar() }}{% endblock %}
166
167 {%- block content %}
168   {%- block sidebar1 %} {# possible location for sidebar #} {% endblock %}
169
170     <div class="document">
171   {% block document %}
172       <div class="documentwrapper">
173       {%- if not embedded %}{% if not theme_nosidebar|tobool %}
174         <div class="bodywrapper">
175       {%- endif %}{% endif %}
176           <div class="body">
177             {% block body %} {% endblock %}
178           </div>
179           <div class="feedback">
180               <h2>Help and Feedback</h2>
181               You did not find what you were looking for?
182               <ul>
183                   {% if theme_lang == 'c' %}
184                   {% endif %}
185                   {% if theme_lang == 'cpp' %}
186                     <li>Try the <a href="http://docs.opencv.org/trunk/opencv_cheatsheet.pdf">Cheatsheet</a>.</li>
187                   {% endif %}
188                   {% if theme_lang == 'py' %}
189                     <li>Try the <a href="cookbook.html">Cookbook</a>.</li>
190                   {% endif %}
191                   <li>Ask a question on the <a href="http://answers.opencv.org">Q&A forum</a>.</li>
192                   <li>If you think something is missing or wrong in the documentation,
193                   please file a <a href="http://code.opencv.org">bug report</a>.</li>
194               </ul>
195           </div>
196       {%- if not embedded %}{% if not theme_nosidebar|tobool %}
197         </div>
198       {%- endif %}{% endif %}
199       </div>
200 {% endblock %}
201
202   {%- block sidebar2 %}{{ sidebar() }}{% endblock %}
203       <div class="clearer"></div>
204     </div>
205 {%- endblock %}
206
207 {%- block relbar2 %}{{ relbar() }}{% endblock %}
208
209 {%- block footer %}
210     <div class="footer">
211     {%- if show_copyright %}
212       {%- if hasdoc('copyright') %}
213         {% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
214       {%- else %}
215         {% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}
216       {%- endif %}
217     {%- endif %}
218     {%- if last_updated %}
219       {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
220     {%- endif %}
221     {%- if show_sphinx %}
222       {% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
223     {%- endif %}
224     </div>
225 {%- endblock %}
226   </body>
227 </html>