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
f97e9f3a6c
|
@ -5,7 +5,7 @@ From https://github.com/ryan-roemer/sphinx-bootstrap-theme.
|
||||||
"""
|
"""
|
||||||
import os
|
import os
|
||||||
|
|
||||||
VERSION = (0, 1, 4)
|
VERSION = (0, 1, 5)
|
||||||
|
|
||||||
__version__ = ".".join(str(v) for v in VERSION)
|
__version__ = ".".join(str(v) for v in VERSION)
|
||||||
__version_full__ = __version__
|
__version_full__ = __version__
|
||||||
|
|
|
@ -102,7 +102,10 @@
|
||||||
|
|
||||||
<div class="wy-menu wy-menu-vertical" data-spy="affix">
|
<div class="wy-menu wy-menu-vertical" data-spy="affix">
|
||||||
{% set toctree = toctree(maxdepth=2, collapse=False) %}
|
{% set toctree = toctree(maxdepth=2, collapse=False) %}
|
||||||
{% if toctree %}
|
{% if not next and not prev %}
|
||||||
|
<!-- Local TOC for single page -->
|
||||||
|
{{ toc }}
|
||||||
|
{% elif toctree %}
|
||||||
{{ toctree }}
|
{{ toctree }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ toc }}
|
{{ toc }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user