sol2/sphinx_rtd_theme/versions.html

39 lines
1.3 KiB
HTML
Raw Normal View History

2013-10-22 07:28:09 +08:00
{% if READTHEDOCS %}
2013-10-24 07:50:48 +08:00
{# Add rst-badge after rst-versions for small badge style. #}
2013-10-24 08:23:06 +08:00
<div class="rst-versions" data-toggle="rst-versions">
2013-10-22 07:28:09 +08:00
<span class="rst-current-version {% if current_version != "latest" %}rst-out-of-date{% endif %}" data-toggle="rst-current-version">
2013-10-24 08:23:06 +08:00
<span class="icon icon-book"> Read the Docs</span>
2013-10-22 07:28:09 +08:00
v: {{ current_version }}
{% if current_version != "latest" %}(old) {% endif %}
<span class="icon icon-caret-down"></span>
</span>
<div class="rst-other-versions">
<dl>
2013-10-24 04:03:34 +08:00
<dt>Versions</dt>
2013-10-22 07:28:09 +08:00
{% for slug, url in versions %}
<dd><a href="{{ url }}">{{ slug }}</a></dd>
{% endfor %}
</dl>
<dl>
<dt>Downloads</dt>
2013-10-22 09:16:16 +08:00
{% for type, url in downloads %}
<dd><a href="{{ url }}">{{ type }}</a></dd>
{% endfor %}
2013-10-22 07:28:09 +08:00
</dl>
2013-10-24 04:03:34 +08:00
<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>
2013-10-22 07:28:09 +08:00
<hr/>
2013-10-22 09:17:04 +08:00
Free document hosting provided by <a href="http://www.readthedocs.org">Read the Docs</a>.
2013-10-24 04:03:34 +08:00
2013-10-22 07:28:09 +08:00
</div>
2013-10-22 06:52:35 +08:00
</div>
{% endif %}
2013-10-24 04:18:25 +08:00