mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
38 lines
1.2 KiB
HTML
38 lines
1.2 KiB
HTML
|
<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 %}
|
||
|
#}
|