Fix double trailing whitespace for apidoc with module first

This commit is contained in:
AleksaC 2020-07-09 23:55:36 +02:00
parent 98a854deca
commit 6e90f5ad9c

View File

@ -35,14 +35,15 @@ Submodules
----------
{% if separatemodules %}
{{ toctree(submodules) }}
{%- else %}
{% endif %}
{%- if not separatemodules %}
{%- for submodule in submodules %}
{% if show_headings %}
{{- [submodule, "module"] | join(" ") | e | heading(2) }}
{% endif %}
{{ automodule(submodule, automodule_options) }}
{% endfor %}
{%- endif %}
{%- endif -%}
{% endif %}
{%- if not modulefirst and not is_namespace %}