You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you for a great project! I've used it quite successfully with portray, but when documenting a class that makes quite heavy use of the @property decorator I noticed that the docstring from the setter function is ignored by pdocs. See the example below
classDummy:
def__init__(self):
self._foo=1self._bar=2@propertydeffoo(self):
"""Get the value of foo"""returnself._foo@foo.setterdeffoo(self, value):
"""This string is ignored"""self._foo=value@propertydefbar(self):
"""Get the value of bar"""returnself._bar@bar.setterdefbar(self, value):
"""This is also ignored"""self._bar=value
If possible it would be great to separate the property functions into their own section, with items in the index, etc, similiar to how methods are displayed now.
The text was updated successfully, but these errors were encountered:
First of all, thank you for a great project! I've used it quite successfully with portray, but when documenting a class that makes quite heavy use of the
@property
decorator I noticed that the docstring from the setter function is ignored by pdocs. See the example belowIf possible it would be great to separate the property functions into their own section, with items in the index, etc, similiar to how methods are displayed now.
The text was updated successfully, but these errors were encountered: