{# The original version of this file is a part of sphinx_rtd_theme v0.5.0, which is distributed under the MIT license #} {# https://github.com/readthedocs/sphinx_rtd_theme #} {# Add rst-badge after rst-versions for small badge style. #} {% if ENABLE_VERSIONING == "true" %}
Read the Docs v: {{ current_version }}
{{ _('Languages') }}
{% for lang in languages %} {% set root_dir = pathto("../..", 1)%}
{% if lang == current_lang %}{% endif %} {{ lang }} {% if lang == current_lang %}{% endif %}
{% endfor %}
{{ _('Branches') }}
{% for name in branches %} {% set root_dir = pathto("../..", 1)%}
{% if name == current_version %}{% endif %} {{ name }} {% if name == current_version %}{% endif %}
{% endfor %}
{{ _('Tags') }}
{% for name in tags %} {% set root_dir = pathto("../..", 1)%}
{% if name == current_version %}{% endif %} {{ name }} {% if name == current_version %}{% endif %}
{% endfor %}
{% endif %} {# endif ENABLE_VERSIONING #}