griffe_sphinx
¤
Griffe Sphinx package.
Parse Sphinx-comments above attributes as docstrings.
Classes:
-
SphinxCommentsExtension–Parse Sphinx-comments above attributes as docstrings.
SphinxCommentsExtension
¤
Bases: Extension
Parse Sphinx-comments above attributes as docstrings.
Methods:
-
on_attribute_instance–Parse Sphinx-comments above attributes as docstrings.
on_attribute_instance
¤
Parse Sphinx-comments above attributes as docstrings.
Parameters:
-
(attr¤Attribute) –The attribute being visited.
-
(agent¤Visitor | Inspector) –The visitor or inspector visiting the attribute.
-
(**kwargs¤Any, default:{}) –Additional keyword arguments.
Source code in src/griffe_sphinx/_internal/extension.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | |