Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Any tips on how to fix this other plugin I'm using to play nice with sphinx-autodoc-typehints? #282

Closed
red8888 opened this issue Jan 6, 2023 · 0 comments

Comments

@red8888
Copy link

red8888 commented Jan 6, 2023

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!

@tox-dev tox-dev locked and limited conversation to collaborators Jan 19, 2023
@gaborbernat gaborbernat converted this issue into discussion #303 Jan 19, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant