-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
feat: add default values, if any, when showing parameters as a list #92
feat: add default values, if any, when showing parameters as a list #92
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @AntoineD!
src/mkdocstrings_handlers/python/templates/material/_base/docstring/parameters.html
Outdated
Show resolved
Hide resolved
I've moved the display of the default value next to the type, because showing it after the description was adding a new block (in HTML terms), and it's quite hard to force things to be shown in-line correctly. Let me know what you think. |
It's fine, thank you. I just noticed the suffixed |
Yes, if we use |
Is there anything left to do? |
Thanks again @AntoineD! |
The defaults are shown for table and spacy but not for list.