{% extends "!layout.html" %}

{% if READTHEDOCS and current_version %}
  {% if current_version == "latest" or current_version == "stable"
     or current_version == "master" or current_version == "current"
     or current_version == "lts" or current_version == "LTS" %}
    {% set current_version = current_version ~ " (" ~ version ~ ")" %}
  {% endif %}
{% endif %}

{% block menu %}
  {{ super() }}
  <a href="{{pathto('genindex.html', 1)}}">Index</a>
{% endblock %}
