sol2/sphinx_rtd_theme/versions.html

38 lines
1.2 KiB
HTML
Raw Normal View History

2013-10-22 06:52:35 +08:00
<div class="rst-versions" data-toggle="rst-versions">
<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>Version</dt>
{% for slug, url in versions %}
<dd><a href="{{ url }}">{{ slug }}</a></dd>
{% endfor %}
</dl>
<dl>
<dt>Downloads</dt>
<dd><a href="{{ url }}">PDF</a></dd>
<dd><a href="{{ url }}">Epub</a></dd>
<dd><a href="{{ url }}">Zip</a></dd>
</dl>
<hr/>
Free document hosting and versioning provided by <a href="http://www.readthedocs.org">Read the Docs</a>.
</div>
</div>
{#
{% if versions %}
<div class="wy-dropdown">
<a href="{{ pathto(master_doc) }}" class="icon icon-home caret"> {{ project }} </a>
<dl class="wy-dropdown-menu">
{% for slug, url in versions %}
<dd><a href="{{ url }}">{{ slug }}</a></dd>
{% endfor %}
</dl>
</div>
{% endif %}
#}