mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Merge branch 'master' of github.com:snide/sphinx_rtd_theme
This commit is contained in:
commit
9d7236bacd
|
@ -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" %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user