feature: Warn about attributes sections found in __init__
method docstrings
#144
Labels
extractor: griffe
Related to griffe
feature
New feature or request
fund
Issue priority can be boosted
griffe extension
Can be solved with a Griffe extension
Description of the bug
If attributes are documented in the
__init__
method (see class below), their types are missing after rendering (see the screenshot).screenshot
To Reproduce
Full traceback
Full traceback
Expected behavior
Not matter where attributes are documented (module level, class level or
__init__
method), their types should be extracted and rendered properly.Environment information
python -m mkdocstrings_handlers.python.debug # | xclip -selection clipboard
mkdocs
v1.5.3mkdocstrings
v0.24.1mkdocstrings-python
v1.9.0griffe
v0.42.0Additional context
mkdocs.yml
Boost priority
The text was updated successfully, but these errors were encountered: