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
Handle Google style docstrings for Python properties #499
Comments
Hello! You can just remove |
You are right, I should remove |
Google-style documented properties are definitely supported. Could you expand on what your issue actually is? Is the property not showing up in the generated docs? Is it showing up but without the docstring? Something else? |
I was looking back to this and I can't really see what I was thinking / trying to do. Properties are documented as expected and they get appropriate labels... I'll close this issue; thanks for your time! |
Thanks for coming back and closing! |
Hey, thank you so much for your work on
mkdocstrings
!Currently,
mkdocstrings
has support for methods that have docstrings that follow the Google style, but sadly it does not have support for properties (@property
) that follow the Google style for Python docstrings.So, currently, I have to do something like:
Ideally, I would just do something like
In a perfect world,
mkdocstrings
would even pick up the name of the return value from the property name itself!The text was updated successfully, but these errors were encountered: