{%- if theme_sidebar_dropdown == 'api_ref' %} {% include 'sidebartoc_menu_apiref.html' %} {%- else %} {% include 'sidebartoc_menu.html' %} {%- endif %}
{%- if theme_display_global_toc_section %}

{{project}} {{version}}

{%- if theme_sidebar_mode == 'toc' %} {{ toc }} {%- elif theme_sidebar_mode == 'toctree' %} {{ toctree(maxdepth=2) }} {%- endif %}
{%- endif %} {% include 'localtoc.html' %}