<li class="dropdown" data-dropdown="dropdown">
  <a href="{{ pathto(master_doc) }}"
     class="dropdown-toggle">Chapter</a>
  <span class="globaltoc">{{ toctree(maxdepth=1) }}</span>
</li>