sol2/sphinx_rtd_theme/versions.html
2013-10-23 16:38:10 -07:00

40 lines
1.4 KiB
HTML

{% if READTHEDOCS %}
{# Add rst-badge-small after rst-versions for small badge style. #}
<div class="rst-versions" data-toggle="rst-versions">
<span class="rst-badge-small icon icon-book" data-toggle="rst-current-version"> Read the Docs <span class="icon icon-caret-down"></span></span>
<span class="rst-current-version {% if current_version != "latest" %}rst-out-of-date{% endif %}" data-toggle="rst-current-version">
<span class="float-left icon icon-book"> Read the Docs</span>
v: {{ current_version }}
{% if current_version != "latest" %}(old) {% endif %}
<span class="icon icon-caret-down"></span>
</span>
<div class="rst-other-versions">
<dl>
<dt>Versions</dt>
{% for slug, url in versions %}
<dd><a href="{{ url }}">{{ slug }}</a></dd>
{% endfor %}
</dl>
<dl>
<dt>Downloads</dt>
{% for type, url in downloads %}
<dd><a href="{{ url }}">{{ type }}</a></dd>
{% endfor %}
</dl>
<dl>
<dt>On Read the Docs</dt>
<dd>
<a href="//{{ PRODUCTION_DOMAIN }}/projects/{{ slug }}/?fromdocs={{ slug }}">Project Home</a>
</dd>
<dd>
<a href="//{{ PRODUCTION_DOMAIN }}/builds/{{ slug }}/?fromdocs={{ slug }}">Builds</a>
</dd>
</dl>
<hr/>
Free document hosting provided by <a href="http://www.readthedocs.org">Read the Docs</a>.
</div>
</div>
{% endif %}