Skip to content

The sphinx plugin doesn't seem to work with sphinx-autodoc-typehints and sphinx-autodoc-defaultargs #33

Description

@red8888

I use these extensions:

They work for regular public functions, but anything annotated with @task doesn't pull in the type hint and default value from the function definition.

Is it possible to configure the invoke ext to work with this somehow?

I should add I'm using this guys code snippet to patch in support for type hints in the first place: pyinvoke/invoke#357 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions