Merge branch 'master' of github.com:snide/sphinx_rtd_theme

This commit is contained in:
Dave Snider 2013-10-26 16:38:54 -07:00
commit 9d7236bacd

View File

@ -95,7 +95,12 @@
</div> </div>
<div class="wy-menu wy-menu-vertical" data-spy="affix"> <div class="wy-menu wy-menu-vertical" data-spy="affix">
{{ toctree(maxdepth=2, collapse=False) }} {% set toctree = toctree(maxdepth=2, collapse=False) %}
{% if toctree %}
{{ toctree }}
{% else %}
{{ toc }}
{% endif %}
</div> </div>
{% include "versions.html" %} {% include "versions.html" %}
&nbsp; &nbsp;