8998ec17b8
* Docs refactor as outlined in https://github.com/ansible/proposals/issues/79. Moves content into 'guides'; refactors TOC; fixes CSS; design tweaks to layout and CSS; fixes generated plugin, CLI and module docs to fix links accodingly; more.
* Adding extra blank line for shippable
(cherry picked from commit 373b1dcf59
)
37 lines
1.3 KiB
HTML
37 lines
1.3 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 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>
|
|
<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/>
|
|
{% trans %}Free document hosting provided by <a href="http://www.readthedocs.org">Read the Docs</a>.{% endtrans %}
|
|
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
|