pdoc
pdoc copied to clipboard
Support Sphinx / reStructuredText / reST args format
def func(s, test):
"""
Returns `True` if the string length is greater than the given integer.
:param s: str
:param test: int
:return: bool
"""
pass
This is default docstring style used in many editors.
Expected Behavior
Something like that:

Actual Behavior

Additional info
- pdoc version: 0.6.3
If you want to work on it and contrib a PR, I'd have a look.
Some ideas/guidelines for the future implementer in https://github.com/pdoc3/pdoc/pull/198#issuecomment-627942049.