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

@ -1,8 +1,8 @@
# requirements for building the docs
sphinx==3.1.1
# sphinx-multiversion latest
git+https://github.com/Holzhaus/sphinx-multiversion.git@master#egg=sphinx-multiversion
sphinx==3.2.1
sphinx-multiversion==0.2.4
# lunr==0.5.8
# recommonmark custom branch with evennia-specific fixes
git+https://github.com/evennia/recommonmark.git@evennia-mods#egg=recommonmark

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 %}