2016-08-24 15:15:09 +02:00
|
|
|
{% 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 class="fa fa-book"> Read the Docs</span>
|
|
|
|
v: {{ current_version }}
|
|
|
|
<span class="fa fa-caret-down"></span>
|
|
|
|
</span>
|
|
|
|
<div class="rst-other-versions">
|
|
|
|
<dl>
|
2020-07-12 04:12:35 +02:00
|
|
|
<dt>{{ _('Versions') }}</dt>
|
2016-08-24 15:15:09 +02:00
|
|
|
{% for slug, url in versions %}
|
|
|
|
<dd><a href="{{ url }}">{{ slug }}</a></dd>
|
|
|
|
{% endfor %}
|
|
|
|
</dl>
|
|
|
|
<dl>
|
2020-07-12 04:12:35 +02:00
|
|
|
<dt>{{ _('Downloads') }}</dt>
|
2016-08-24 15:15:09 +02:00
|
|
|
{% for type, url in downloads %}
|
|
|
|
<dd><a href="{{ url }}">{{ type }}</a></dd>
|
|
|
|
{% endfor %}
|
|
|
|
</dl>
|
|
|
|
<dl>
|
2020-07-12 04:12:35 +02:00
|
|
|
{# Translators: The phrase "Read the Docs" is not translated #}
|
|
|
|
<dt>{{ _('On Read the Docs') }}</dt>
|
2016-08-24 15:15:09 +02:00
|
|
|
<dd>
|
2020-07-12 04:12:35 +02:00
|
|
|
<a href="//{{ PRODUCTION_DOMAIN }}/projects/{{ slug }}/?fromdocs={{ slug }}">{{ _('Project Home') }}</a>
|
2016-08-24 15:15:09 +02:00
|
|
|
</dd>
|
|
|
|
<dd>
|
2020-07-12 04:12:35 +02:00
|
|
|
<a href="//{{ PRODUCTION_DOMAIN }}/builds/{{ slug }}/?fromdocs={{ slug }}">{{ _('Builds') }}</a>
|
2016-08-24 15:15:09 +02:00
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|