Fix autosummary: "Module attributes" header is not translatable

refs: #7469
This commit is contained in:
Takeshi KOMIYA 2020-05-17 19:16:42 +09:00
parent 03e1070888
commit 2098e6b260
2 changed files with 2 additions and 1 deletions

View File

@ -45,6 +45,7 @@ Bugs fixed
* #7865: autosummary: Failed to extract summary line when abbreviations found * #7865: autosummary: Failed to extract summary line when abbreviations found
* #7866: autosummary: Failed to extract correct summary line when docstring * #7866: autosummary: Failed to extract correct summary line when docstring
contains a hyperlink target contains a hyperlink target
* #7469: autosummary: "Module attributes" header is not translatable
* #7940: apidoc: An extra newline is generated at the end of the rst file if a * #7940: apidoc: An extra newline is generated at the end of the rst file if a
module has submodules module has submodules
* #4258: napoleon: decorated special methods are not shown * #4258: napoleon: decorated special methods are not shown

View File

@ -4,7 +4,7 @@
{% block attributes %} {% block attributes %}
{% if attributes %} {% if attributes %}
.. rubric:: Module Attributes .. rubric:: {{ _('Module Attributes') }}
.. autosummary:: .. autosummary::
{% for item in attributes %} {% for item in attributes %}