61f28d7ffe
(without stuff like the unicode codepoint agressions and external resources) This should be cleaner and look good on mobile devices too.
37 lines
1.2 KiB
HTML
37 lines
1.2 KiB
HTML
{% if READTHEDOCS %}
|
|
{# Add rst-badge after rst-versions for small badge style. #}
|
|
<div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
|
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
|
<span>📚 Read the Docs</span>
|
|
v: {{ current_version }}
|
|
<span>⏷</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 %}
|
|
|