-
-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No class comments #77
Comments
Can confirm, this seems to be a regression introduced in version 1.5.0 |
Thanks simon, same issue -- i reverted to v1.4, and it worked fine. |
I see that it wasn't solved in version 1.7.0 Also, I tried to search for the bug but couldn't find it. If someone would guide me where to look I could try and fix it. |
@geniashand I haven't had time to dive into it, so can't give you much with regards to pointers unfortunately. |
@simonvanderveldt One of those commit ( 507d2f5 ) is bumping |
Okay I figured it out: So say your class is something like: class Example:
"""This is the short description which is just the first line.
Here is room for a longer description where you can go
into detail on multiple lines if you like.
:param value: A description of the param.
"""
def __init__(value):
self._value = value Before it would print the thing as-is, with no formatting for that param. Now it succeeds in parsing it, but only displays the params, skipping the short and long description. And if you have no params in your docstring, it just displays nothing. |
Example: https://timothycrosley.github.io/portray/reference/portray/exceptions/
How come class comments do not display?
The text was updated successfully, but these errors were encountered: