source: rtems-docs/common/sphinx_rtd_theme_rtems/versions.html @ a316b1f

4.115
Last change on this file since a316b1f was a316b1f, checked in by Amar Takhar <amar@…>, on 01/20/16 at 01:37:04

Add support for singlehtml (inlined) HTML file, plus some other fixes.

  • This is still broken.
  • Rename sphinx_rtd_theme so it doesn't pickup locally installed ones
  • Add a hack to theme.css to get around inliner bug.
  • Some unrelated fixups in common/waf.py

Unfortunatly several dozen fixes got merged into this.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1{% if READTHEDOCS %}
2{# Add rst-badge after rst-versions for small badge style. #}
3  <div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
4    <span class="rst-current-version" data-toggle="rst-current-version">
5      <span class="fa fa-book"> Read the Docs</span>
6      v: {{ current_version }}
7      <span class="fa fa-caret-down"></span>
8    </span>
9    <div class="rst-other-versions">
10      <dl>
11        <dt>Versions</dt>
12        {% for slug, url in versions %}
13          <dd><a href="{{ url }}">{{ slug }}</a></dd>
14        {% endfor %}
15      </dl>
16      <dl>
17        <dt>Downloads</dt>
18        {% for type, url in downloads %}
19          <dd><a href="{{ url }}">{{ type }}</a></dd>
20        {% endfor %}
21      </dl>
22      <dl>
23        <dt>On Read the Docs</dt>
24          <dd>
25            <a href="//{{ PRODUCTION_DOMAIN }}/projects/{{ slug }}/?fromdocs={{ slug }}">Project Home</a>
26          </dd>
27          <dd>
28            <a href="//{{ PRODUCTION_DOMAIN }}/builds/{{ slug }}/?fromdocs={{ slug }}">Builds</a>
29          </dd>
30      </dl>
31      <hr/>
32      Free document hosting provided by <a href="http://www.readthedocs.org">Read the Docs</a>.
33
34    </div>
35  </div>
36{% endif %}
37
Note: See TracBrowser for help on using the repository browser.