<div class="col-lg-3 col-md-4 col-sm-4 col-lg-pull-9 col-md-pull-8 col-sm-pull-8 docs-sidebar">
  <div class="btn-group docs-sidebar-releases">
    <button onclick="location.href='/'" class="btn docs-sidebar-home" data-toggle="tooltip" data-placement="top" title="{{ theme_root_title|striptags }} Home"><i class="fa fa-arrow-circle-o-left"></i></button>

{%- if theme_sidebar_dropdown == 'api_ref' %}
{% include 'sidebartoc_menu_apiref.html' %}
{%- else %}
{% include 'sidebartoc_menu.html' %}
{%- endif %}
  </div>
  <div class="docs-sidebar-toc">
  {%- if theme_display_global_toc_section %}
    <div class="docs-sidebar-section" id="table-of-contents">
      <a href="{{ pathto(master_doc) }}" class="docs-sidebar-section-title"><h4>{{project}} {{version}}</h4></a>
      {%- if theme_sidebar_mode == 'toc' %}
      {{ toc }}
      {%- elif theme_sidebar_mode == 'toctree' %}
      {{ toctree(maxdepth=2) }}
      {%- endif %}
    </div>
  {%- endif %}
{% include 'localtoc.html' %}
  </div>
</div>
