Merge pull request #7943 from tk0miya/7469_translatable

Fix autosummary: "Module attributes" header is not translatable
This commit is contained in:
Takeshi KOMIYA 2020-07-17 01:02:05 +09:00 committed by GitHub
commit 61e23abec6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -48,6 +48,7 @@ Bugs fixed
* #7865: autosummary: Failed to extract summary line when abbreviations found
* #7866: autosummary: Failed to extract correct summary line when docstring
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
module has submodules
* #4258: napoleon: decorated special methods are not shown

View File

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