griffe_typingdoc
¤
Griffe TypingDoc package.
Griffe extension for PEP 727 - Documentation Metadata in Typing.
Classes:
-
TypingDocExtension–Griffe extension that reads documentation from
typing.Doc.
TypingDocExtension
¤
TypingDocExtension()
Bases: Extension
Griffe extension that reads documentation from typing.Doc.
Methods:
-
on_attribute_instance–Post-process Griffe attributes to create their docstring.
-
on_function_instance–Post-process Griffe functions to add a parameters section.
-
on_package–Post-process Griffe packages recursively (non-yet handled objects only).
Source code in src/griffe_typingdoc/_internal/extension.py
40 41 | |
on_attribute_instance
¤
Post-process Griffe attributes to create their docstring.
It applies only for dynamic analysis.
Source code in src/griffe_typingdoc/_internal/extension.py
169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 | |
on_function_instance
¤
Post-process Griffe functions to add a parameters section.
It applies only for dynamic analysis.
Source code in src/griffe_typingdoc/_internal/extension.py
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | |
on_package
¤
on_package(*, pkg: Module, **kwargs: Any) -> None
Post-process Griffe packages recursively (non-yet handled objects only).
Source code in src/griffe_typingdoc/_internal/extension.py
137 138 139 140 141 142 143 144 145 146 147 | |