2013-12-06 17:27:56 +01:00
|
|
|
{% if READTHEDOCS %}
|
|
|
|
{# Add rst-badge after rst-versions for small badge style. #}
|
2014-02-02 10:35:21 +01:00
|
|
|
<div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
|
2013-12-06 17:27:56 +01:00
|
|
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
2014-02-02 10:35:21 +01:00
|
|
|
<span class="fa fa-book"> Read the Docs</span>
|
|
|
|
v: {{ current_version }}
|
|
|
|
<span class="fa fa-caret-down"></span>
|
2013-12-06 17:27:56 +01:00
|
|
|
</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 %}
|
|
|
|
|