summaryrefslogtreecommitdiffstats
path: root/doc/_themes/sphinx13/layout.html
blob: 86a794306b92285e45a501f27612c184ed71d5ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{# Sphinx layout template for the sphinxdoc theme. #}
{%- extends "basic/layout.html" %}

{% block extrahead %}
{{ super() }}
{%- if not embedded and pagename == 'index' %}
<style>.related { display: none; }</style>
{%- endif %}
{% endblock %}

{% block header %}
<div class="pageheader">
<a href="{{ pathto('index') }}">
  <img src="{{ pathto('_static/sphinxheader.png', 1) }}" alt="SPHINX" />
</a>
</div>
{% endblock %}

{%- block relbar1 %}
<div class="related" role="navigation" aria-label="related navigation">
  <h3>{{ _('Navigation') }}</h3>
  <ul>
    <li><a href="{{ pathto('index') }}">Documentation</a> &raquo;</li>
    {%- for parent in parents %}
      <li class="nav-item nav-item-{{ loop.index }}"><a href="{{ parent.link|e }}" {% if loop.last %}{{ accesskey("U") }}{% endif %}>{{ parent.title }}</a>{{ reldelim1 }}</li>
    {%- endfor %}
    <li class="nav-item nav-item-this"><a href="{{ link|e }}">{{ title }}</a></li>
  </ul>
</div>
{% endblock %}

{%- block content %}
<div class="document">
  <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
    {%- include "searchfield.html" %}
    <div class="sphinxsidebar-navigation__contents">
      <h3>{{ _('On this page') }}</h3>
      {{ toc }}
    </div>
    <div class="sphinxsidebar-navigation__pages">
      <h3>{{ _('Site navigation') }}</h3>
      {{ toctree(includehidden=True, maxdepth=3, titles_only=True) }}
    </div>
  </div>
  {%- block document %}
  <div class="body" role="main">
    {% block body %}{% endblock %}
  </div>
  {%- endblock %}
</div>
{%- endblock %}

{%- block relbar2 %}{% endblock %}

{%- block footer %}
<div class="footer" role="contentinfo">
  {{ copyright_block() }}
  {% trans sphinx_version=sphinx_version|e %}Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
</div>
{%- endblock %}