Update layout and sphinx version

This commit is contained in:
Griatch 2020-10-13 18:25:50 +02:00
parent 3d431e59d2
commit 62ca01f678
2 changed files with 5 additions and 8 deletions

View file

@ -7,7 +7,7 @@
{%- macro toctree(docnames) -%}
.. toctree::
:maxdepth: 6
:maxdepth: {{ maxdepth }}
{% for docname in docnames %}
{{ docname }}
{%- endfor %}
@ -31,8 +31,7 @@ Module contents
{% endif %}
{%- if submodules %}
Modules
-------
{% if separatemodules %}
{{ toctree(submodules) }}
{%- else %}
@ -47,8 +46,6 @@ Modules
{%- if subpackages %}
Packages/folders
----------------
{{ toctree(subpackages) }}
{% endif %}