mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #8031 from tk0miya/8030_annotated_ivar_isnt_shown_with_inherited_members
Fix #8030: autodoc: An annotated instance variable is not documented
This commit is contained in:
commit
cc25bac264
2
CHANGES
2
CHANGES
@ -59,6 +59,8 @@ Bugs fixed
|
|||||||
* #904: autodoc: An instance attribute cause a crash of autofunction directive
|
* #904: autodoc: An instance attribute cause a crash of autofunction directive
|
||||||
* #1362: autodoc: ``private-members`` option does not work for class attributes
|
* #1362: autodoc: ``private-members`` option does not work for class attributes
|
||||||
* #7983: autodoc: Generator type annotation is wrongly rendered in py36
|
* #7983: autodoc: Generator type annotation is wrongly rendered in py36
|
||||||
|
* #8030: autodoc: An uninitialized annotated instance variable is not documented
|
||||||
|
when ``:inherited-members:`` option given
|
||||||
* #7839: autosummary: cannot handle umlauts in function names
|
* #7839: autosummary: cannot handle umlauts in function names
|
||||||
* #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
|
||||||
|
@ -579,6 +579,8 @@ class Documenter:
|
|||||||
return True
|
return True
|
||||||
elif name in cls.__dict__:
|
elif name in cls.__dict__:
|
||||||
return False
|
return False
|
||||||
|
elif name in self.get_attr(cls, '__annotations__', {}):
|
||||||
|
return False
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user