-
-
Couldn't load subscription status.
- Fork 49
Open
Labels
featureNew feature or requestNew feature or request
Description
Description of the bug
When the PEP695 syntax is used for type alias declaration, no docstring is gathered.
it should be treated the same way as:
from typing import TypeAlias
SomeType: TypeAlias = int
"""Type alias docstring"""To Reproduce
type SomeType = int
"""Type alias docstring"""Expected behavior
Should gather type alias and show it on the mkdocs site like when TypeAlias is used:
Environment information
python -m mkdocstrings_handlers.python._internal.debug # | xclip -selection clipboard- System: Linux-6.2.6-76060206-generic-x86_64-with-glibc2.39
- Python: cpython 3.12.3 (/workspace/clive/venv/bin/python)
- Environment variables:
- Installed packages:
mkdocstrings-pythonv1.16.12
Additional context
notenti
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request