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 # requirements for building the docs
sphinx==3.1.1 sphinx==3.2.1
# sphinx-multiversion latest sphinx-multiversion==0.2.4
git+https://github.com/Holzhaus/sphinx-multiversion.git@master#egg=sphinx-multiversion # lunr==0.5.8
# recommonmark custom branch with evennia-specific fixes # recommonmark custom branch with evennia-specific fixes
git+https://github.com/evennia/recommonmark.git@evennia-mods#egg=recommonmark git+https://github.com/evennia/recommonmark.git@evennia-mods#egg=recommonmark

View file

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