summaryrefslogtreecommitdiffstats
path: root/docs/_templates/layout.html
blob: 843122fd2774f7a0e559ef3e4b7b522735f1d982 (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
{%- extends "!layout.html" %}

{#-

This template exists as a way to implement a version menu without changing what
the theme normally renders the menu on local builds and on builds on Read the
Docs. This is for local testing purposes only.

#}

{%- block footer %}
  {%- if not READTHEDOCS %}
    <div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="{{ _('Versions') }}">
      <span class="rst-current-version" data-toggle="rst-current-version">
        <span class="fa fa-book"> Read the Docs</span>
        v: latest
        <span class="fa fa-caret-down"></span>
      </span>
      <div class="rst-other-versions">
        <dl>
          <dt>{{ _('Versions') }}</dt>
          {%- if test_versions %}
            {%- for version in test_versions %}
            <dd><a href="#">{{ version }}</a></dd>
            {%- endfor %}
          {%- else %}
            <dd><a href="#">latest</a></dd>
            <dd><a href="#">1.0</a></dd>
            <dd><a href="#">1.1</a></dd>
          {%- endif %}
        </dl>
        <dl>
          <dt>{{ _('Downloads') }}</dt>
          <dd><a href="#">PDF</a></dd>
          <dd><a href="#">ePub</a></dd>
          <dd><a href="#">HTML</a></dd>
        </dl>
        <dl>
          {#- Translators: The phrase "Read the Docs" is not translated #}
          <dt>{{ _('On Read the Docs') }}</dt>
            <dd>
              <a href="#">{{ _('Project Home') }}</a>
            </dd>
            <dd>
              <a href="#">{{ _('Builds') }}</a>
            </dd>
        </dl>
        <dl>
          <dt>Debug</dt>
          <dd><a href="#" data-toggle="rst-debug-badge">Swap badge position</a></dd>
        </dl>
      </div>
    </div>
  {%- endif %}
{%- endblock %}