Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Python type parameter lists
Sphinx has partial support for type parameter lists: they are supported by the Python domain in signatures, but are not supported by autodoc. This adds the following support: - Sphinx Python domain for type parameter fields in docstrings, with sphinx.ext.napoleon support as well. - Support for type parameters as Sphinx objects, with cross-linking, like the existing support for function parameters as Sphinx objects. - Support in apigen for PEP 695 type parameters, and for displaying pre-PEP 695 separately-defined TypeVar types as PEP 695 type parameters.
- Loading branch information