You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that it seems sphinx-autodoc-typehints isn't adding type info to my @task functions (but it is doing it for other functions just fine).
I know this is probably more an issue with this other plugin I'm using, FYI I opened an issue asking about it there: pyinvoke/invocations#33
But I'm very new to sphinx and wasn't sure if this is something this plugin would need to support or the other plugin needs to support or if there is a way to configure it to work as is.
This discussion was converted from issue #282 on January 19, 2023 15:06.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have functions that are decorated with
@task
(I'm using pyinvoke).I use this plugin to make autodoc not ignore these annotated fucntions: https://github.com/pyinvoke/invocations/blob/main/invocations/autodoc.py
The issue is that it seems sphinx-autodoc-typehints isn't adding type info to my
@task
functions (but it is doing it for other functions just fine).I know this is probably more an issue with this other plugin I'm using, FYI I opened an issue asking about it there: pyinvoke/invocations#33
But I'm very new to sphinx and wasn't sure if this is something this plugin would need to support or the other plugin needs to support or if there is a way to configure it to work as is.
Any tips would be super helpful!
Beta Was this translation helpful? Give feedback.
All reactions