Merge pull request #148 from gl3n/patch-2

Add "menu" block
This commit is contained in:
Eric Holscher 2014-12-02 14:46:44 -08:00
commit 9804547c02

View File

@ -89,6 +89,7 @@
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
{% block menu %}
{% set toctree = toctree(maxdepth=2, collapse=False, includehidden=True) %}
{% if toctree %}
{{ toctree }}
@ -96,6 +97,7 @@
<!-- Local TOC -->
<div class="local-toc">{{ toc }}</div>
{% endif %}
{% endblock %}
</div>
&nbsp;
</nav>