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

This commit is contained in:
Dave Snider 2013-11-08 08:59:44 -08:00
commit f97e9f3a6c
2 changed files with 5 additions and 2 deletions

View File

@ -5,7 +5,7 @@ From https://github.com/ryan-roemer/sphinx-bootstrap-theme.
"""
import os
VERSION = (0, 1, 4)
VERSION = (0, 1, 5)
__version__ = ".".join(str(v) for v in VERSION)
__version_full__ = __version__

View File

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