diff options
author | Stephen Finucane <stephen@that.guru> | 2019-06-04 18:19:43 +0300 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2019-06-07 17:35:01 +0300 |
commit | 65122ad1cb9702b9dac220513b12c3cb222f8d94 (patch) | |
tree | 07e3f53756246b6063060fb0a54989df1d58d20c /sphinx/templates | |
parent | f0b1cbb734b2ad699d8bdcb41a53b221923aab61 (diff) |
apidoc: Insert newlines between submodules
Fix a regression introduced in 2.1.0 where submodules didn't have a
newline between them resulting in the following warning:
Explicit markup ends without a blank line; unexpected unindent.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Closes: #6440
Diffstat (limited to 'sphinx/templates')
-rw-r--r-- | sphinx/templates/apidoc/package.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/templates/apidoc/package.rst b/sphinx/templates/apidoc/package.rst index 0026af34c..ed9f669ea 100644 --- a/sphinx/templates/apidoc/package.rst +++ b/sphinx/templates/apidoc/package.rst @@ -40,8 +40,8 @@ Submodules {{- [submodule, "module"] | join(" ") | e | heading(2) }} {% endif %} {{ automodule(submodule, automodule_options) }} -{%- endfor %} -{% endif %} +{% endfor %} +{%- endif %} {% endif %} {%- if not modulefirst and not is_namespace %} |