Merge branch 'master' of github.com:snide/sphinx_rtd_theme

This commit is contained in:
Dave Snider 2013-11-04 11:45:39 -08:00
commit e1bf789bae

View File

@ -1,10 +1,9 @@
{% if READTHEDOCS %} {% if READTHEDOCS %}
{# Add rst-badge after rst-versions for small badge style. #} {# Add rst-badge after rst-versions for small badge style. #}
<div class="rst-versions" data-toggle="rst-versions"> <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="rst-current-version" data-toggle="rst-current-version">
<span class="icon icon-book"> Read the Docs</span> <span class="icon icon-book"> Read the Docs</span>
v: {{ current_version }} v: {{ current_version }}
{% if current_version != "latest" %}(old) {% endif %}
<span class="icon icon-caret-down"></span> <span class="icon icon-caret-down"></span>
</span> </span>
<div class="rst-other-versions"> <div class="rst-other-versions">