This doesn't appear to be doing anything, how can I troubleshoot it? #281
-
It doesn't appear to be doing anything. Is there a way I can debug it to see what its trying to do?
I get no errors from the module on build. Any ideas where to start with troubleshooting? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Does that look like napoleon style? I don't think we support that; your docstring should look something like https://github.com/tox-dev/sphinx-autodoc-typehints/blob/main/tests/roots/test-dummy/dummy_module.py#L18-L23 |
Beta Was this translation helpful? Give feedback.
-
Its numpy style which napoleon supports Per this issue it should work if I have them ordered correctly: #15 |
Beta Was this translation helpful? Give feedback.
-
AH HA! Default param is whats breaking this.
param_one includes the type and looks like this: So I guess two options would work for me:
|
Beta Was this translation helpful? Give feedback.
-
Ok think I have this sorted. I'm able to use Using both extensions and leaving out type and default info in the docstring will autogen both.
Leave out type AND default values in docstrings:
|
Beta Was this translation helpful? Give feedback.
Does that look like napoleon style? I don't think we support that; your docstring should look something like https://github.com/tox-dev/sphinx-autodoc-typehints/blob/main/tests/roots/test-dummy/dummy_module.py#L18-L23