1 {# TEMPLATE VAR SETTINGS #}
2 {%- set url_root = pathto('',
1) %}
3 {%- if url_root == '#' %}{% set url_root = '' %}{% endif %}
4 {%- if not embedded and docstitle %}
5 {%- set titlesuffix =
" — "|safe + docstitle|e %}
7 {%- set titlesuffix =
"" %}
11 <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
12 <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
14 <meta charset=
"utf-8">
15 <meta name=
"viewport" content=
"width=device-width, initial-scale=1.0">
17 <title>{{ title|striptags|e }}{{ titlesuffix }}
</title>
22 <link rel=
"shortcut icon" href=
"{{ pathto('_static/' + favicon, 1) }}"/>
26 <link href='https://fonts.googleapis.com/css?family=Lato:
400,
700,
400italic,
700italic|Roboto+Slab:
400,
700|Inconsolata:
400,
700&subset=latin,cyrillic' rel='stylesheet' type='text/css'
>
30 {% if use_opensearch %}
31 <link rel=
"search" type=
"application/opensearchdescription+xml" title=
"{% trans docstitle=docstitle|e %}Search within {{ docstitle }}{% endtrans %}" href=
"{{ pathto('_static/opensearch.xml', 1) }}"/>
36 {# RTD hosts this file, so just load on non RTD builds #}
37 {% if not READTHEDOCS %}
38 <link rel=
"stylesheet" href=
"{{ pathto('_static/' + style, 1) }}" type=
"text/css" />
41 {% for cssfile in css_files %}
42 <link rel=
"stylesheet" href=
"{{ pathto(cssfile, 1) }}" type=
"text/css" />
46 {%- if hasdoc('about') %}
47 <link rel=
"author" title=
"{{ _('About these documents') }}"
48 href=
"{{ pathto('about') }}"/>
50 {%- if hasdoc('genindex') %}
51 <link rel=
"index" title=
"{{ _('Index') }}"
52 href=
"{{ pathto('genindex') }}"/>
54 {%- if hasdoc('search') %}
55 <link rel=
"search" title=
"{{ _('Search') }}" href=
"{{ pathto('search') }}"/>
57 {%- if hasdoc('copyright') %}
58 <link rel=
"copyright" title=
"{{ _('Copyright') }}" href=
"{{ pathto('copyright') }}"/>
60 <link rel=
"top" title=
"{{ docstitle|e }}" href=
"{{ pathto('index') }}"/>
62 <link rel=
"up" title=
"{{ parents[-1].title|striptags|e }}" href=
"{{ parents[-1].link|e }}"/>
65 <link rel=
"next" title=
"{{ next.title|striptags|e }}" href=
"{{ next.link|e }}"/>
68 <link rel=
"prev" title=
"{{ prev.title|striptags|e }}" href=
"{{ prev.link|e }}"/>
71 {%- block extrahead %} {% endblock %}
73 {# Keep modernizr in head - http://modernizr.com/docs/#installing #}
74 <script src=
"https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>
78 <body class=
"wy-body-for-nav" role=
"document">
80 <div class=
"wy-grid-for-nav">
82 {# SIDE NAV, TOGGLES ON MOBILE #}
83 <nav data-toggle=
"wy-nav-shift" class=
"wy-nav-side">
84 <div class=
"wy-side-nav-search">
85 {% block sidebartitle %}
86 <a href=
"{{ pathto(master_doc) }}" class=
"fa fa-home"> {{ project }}
</a>
88 {% include
"searchbox.html" %}
91 <div class=
"wy-menu wy-menu-vertical" data-spy=
"affix" role=
"navigation" aria-label=
"main navigation">
93 {% set toctree = toctree(maxdepth=
2, collapse=False, includehidden=True) %}
98 <div class=
"local-toc">{{ toc }}
</div>
105 <section data-toggle=
"wy-nav-shift" class=
"wy-nav-content-wrap">
107 {# MOBILE NAV, TRIGGLES SIDE NAV ON TOGGLE #}
108 <nav class=
"wy-nav-top" role=
"navigation" aria-label=
"top navigation">
109 <i data-toggle=
"wy-nav-top" class=
"fa fa-bars"></i>
110 <a href=
"{{ pathto(master_doc) }}">{{ project }}
</a>
115 <div class=
"wy-nav-content">
116 <div class=
"rst-content">
117 {% include
"breadcrumbs.html" %}
118 <div role=
"main" class=
"document">
119 {% block body %}{% endblock %}
121 {% include
"footer.html" %}
128 {% include
"versions.html" %}
130 {% if not embedded %}
132 <script type=
"text/javascript">
133 var DOCUMENTATION_OPTIONS = {
134 URL_ROOT:'{{ url_root }}',
135 VERSION:'{{ release|e }}',
136 COLLAPSE_INDEX:false,
137 FILE_SUFFIX:'{{ '' if no_search_suffix else file_suffix }}',
138 HAS_SOURCE: {{ has_source|lower }}
141 {%- for scriptfile in script_files %}
142 <script type=
"text/javascript" src=
"{{ pathto(scriptfile, 1) }}"></script>
147 {# RTD hosts this file, so just load on non RTD builds #}
148 {% if not READTHEDOCS %}
149 <script type=
"text/javascript" src=
"{{ pathto('_static/js/theme.js', 1) }}"></script>
152 {# STICKY NAVIGATION #}
153 {% if theme_sticky_navigation %}
154 <script type=
"text/javascript">
156 SphinxRtdTheme.StickyNav.enable();
161 {%- block footer %} {% endblock %}