diff --git a/docs/generation-templates/module.rst b/docs/generation-templates/module.rst index 241bf0dff755c8a9037a1b2e9447da748ebbe2a7..a1f0dc0384043dbde2aa8e5b2902e67b3367e8c0 100644 --- a/docs/generation-templates/module.rst +++ b/docs/generation-templates/module.rst @@ -7,9 +7,9 @@ ({{ fullname }} module) {% endif %} -{%- if doc %} +{% if doc %} {{doc}} -{%- endif %} +{% endif %} .. currentmodule:: {{ fullname }} diff --git a/docs/generation-templates/package.rst b/docs/generation-templates/package.rst index 5907029f75b268ed23a140c7cbfc825e5c5e15ad..c77de64e85f1fd39b780e6c295c845e0c7f6381a 100644 --- a/docs/generation-templates/package.rst +++ b/docs/generation-templates/package.rst @@ -8,9 +8,9 @@ ({{ fullname }} package) {% endif %} -{%- if doc %} +{% if doc %} {{doc}} -{%- endif %} +{% endif %} .. automodule:: {{ fullname }} {% if members -%}