diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-08-29 11:30:48 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-08-29 11:30:48 +0200 |
commit | 34d79e45dcce1ba2d4dfbe0099187b2518be9ad1 (patch) | |
tree | d560b79fe22b2cd418ade8ed9e345fea849c97ef /taler_sphinx_theme/guzzle_sphinx_theme/globaltoc.html | |
parent | 41a69cdd83eea8b8a8343a76af4569f29aae8d19 (diff) | |
download | docs-34d79e45dcce1ba2d4dfbe0099187b2518be9ad1.tar.gz docs-34d79e45dcce1ba2d4dfbe0099187b2518be9ad1.tar.bz2 docs-34d79e45dcce1ba2d4dfbe0099187b2518be9ad1.zip |
theming
Diffstat (limited to 'taler_sphinx_theme/guzzle_sphinx_theme/globaltoc.html')
-rw-r--r-- | taler_sphinx_theme/guzzle_sphinx_theme/globaltoc.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/taler_sphinx_theme/guzzle_sphinx_theme/globaltoc.html b/taler_sphinx_theme/guzzle_sphinx_theme/globaltoc.html new file mode 100644 index 00000000..b2c04e27 --- /dev/null +++ b/taler_sphinx_theme/guzzle_sphinx_theme/globaltoc.html @@ -0,0 +1,14 @@ + +<div class="sidebar-block"> + <div class="sidebar-wrapper"> + <h2>{{ _('Table Of Contents') }}</h2> + </div> + <div class="sidebar-toc"> + {% set toctree = toctree(maxdepth=theme_globaltoc_depth|toint, collapse=theme_globaltoc_collapse|tobool, includehidden=theme_globaltoc_includehidden|tobool) %} + {% if toctree %} + {{ toctree }} + {% else %} + {{ toc }} + {% endif %} + </div> +</div> |