<aside id="left-sidebar" class="docs-sidebar">
  <div class="docs-sidebar-toc collapse" aria-label="Docs navigation" id="docs-sidebar-nav">
  {%- 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=4, includehidden=True, titles_only=true) }}
      {%- endif %}
    </div>
  {%- endif %}
  </div>
</aside>
