mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Merge branch 'master' of github.com:snide/sphinx_rtd_theme
This commit is contained in:
@@ -95,7 +95,12 @@
|
||||
</div>
|
||||
|
||||
<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>
|
||||
{% include "versions.html" %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user