Describe the bug
Individual attribute docstrings are re-applied to inherited class attributes even when not selecting inherited members. It doesn't feel right when autodocumenting a class and its subclasses in the same module, because then the attribute is documented in each one of them with the same docstring.
To Reproduce
class Base:
VAR = 0
"""My variable."""
class Child(Base):
VAR = 1
Expected behavior
When not selecting inherited members, I'd like the overwritten members to stay docstring-less, so they can be skipped with show_no_doc: false
.
System (please complete the following information):
pytkdocs
0.5.xPay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too