Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use __init__ type hints in "description" mode
Previously, `__init__` type hints were not used when documenting a class using `autodoc_typehints="description"`. This was done to prevent documentation for parameters from showing up twice, but that will no longer occur now that parameter and return types are only inserted if the parameter or return has a description. Closes sphinx-doc#8178
- Loading branch information