Turns out Sphinx has lots of single pages we want tocs on

This commit is contained in:
Eric Holscher 2013-11-08 11:42:38 -08:00
parent bc4ef78ddb
commit e82ee4f1f7

View File

@ -102,13 +102,11 @@
<div class="wy-menu wy-menu-vertical" data-spy="affix">
{% set toctree = toctree(maxdepth=2, collapse=False) %}
{% if not next and not prev %}
<!-- Local TOC for single page -->
<div class="local-toc">{{ toc }}</div>
{% elif toctree %}
{% if toctree %}
{{ toctree }}
{% else %}
<div class="local-toc">{{ toc }}</div>
<!-- Local TOC -->
<div class="local-toc">{{ toc }}</div>
{% endif %}
</div>
&nbsp;