<ul class="globaltoc">
  <li class="toctree-l1">
    <a href="{{ pathto(master_doc) }}">
      Table of Contents
    </a>
  </li>
  {{ toctree(maxdepth=2,collapse=False,includehidden=True) }}
  <li class="toctree-l1">
    <a class="reference internal" href="{{ pathto('genindex') }}">
      Index
    </a>
  </li>
</ul>

