• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{% extends "basic/layout.html" %}
2
3{% set script_files = script_files + [pathto("_static/searchtools.js", 1)] %}
4
5{% block htmltitle %}
6{{ super() }}
7
8<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
9
10{% endblock %}
11
12
13{%- macro sidebar() %}
14      {%- if render_sidebar %}
15      <div class="sphinxsidebar">
16        <div class="sphinxsidebarwrapper">
17          {%- block sidebarlogo %}
18          {%- if logo %}
19            <p class="logo"><a href="{{ pathto(master_doc) }}">
20              <img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
21            </a></p>
22          {%- endif %}
23          {%- endblock %}
24          {%- if sidebars != None %}
25            {#- new style sidebar: explicitly include/exclude templates #}
26            {%- for sidebartemplate in sidebars %}
27            {%- include sidebartemplate %}
28            {%- endfor %}
29          {%- else %}
30            {#- old style sidebars: using blocks -- should be deprecated #}
31            {%- block sidebartoc %}
32            {%- include "globaltoc.html" %}
33            {%- endblock %}
34            {%- block sidebarsourcelink %}
35            {%- include "sourcelink.html" %}
36            {%- endblock %}
37            {%- if customsidebar %}
38            {%- include customsidebar %}
39            {%- endif %}
40            {%- block sidebarsearch %}
41            {%- include "searchbox.html" %}
42            {%- endblock %}
43          {%- endif %}
44        </div>
45      </div>
46      {%- endif %}
47{%- endmacro %}
48
49
50{% block footer %}
51<div class="footer">
52{%- if show_copyright %}
53  {%- if hasdoc('copyright') %}
54    {% trans path=pathto('copyright'), copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
55  {%- else %}
56    {% trans copyright=copyright|e %}&copy; Copyright {{ copyright }}.{% endtrans %}
57  {%- endif %}
58{%- endif %}
59{%- if last_updated %}
60  {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
61{%- endif %}
62</div>
63
64
65{% if theme_analytics_code %}
66<!-- Google Analytics Code -->
67<script type="text/javascript">
68  var _gaq = _gaq || [];
69  _gaq.push(['_setAccount', '{{ theme_analytics_code }}']);
70  _gaq.push(['_trackPageview']);
71
72  (function() {
73    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
74    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
75    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
76  })();
77</script>
78{% endif %}
79
80{% endblock %}
81