We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d0a065 commit eee6d21Copy full SHA for eee6d21
quartodoc/ast.py
@@ -107,8 +107,12 @@ class represents a section like See Also, etc..
107
108
results = []
109
110
+ # griffe < 0.39 w/ numpydoc uses DocstringSectionText for unhandled section
111
+ # but later versions always use Admonitions. Note it may still use Text
112
+ # for areas of docstrings not associated with particular sections (e.g. freeform
113
+ # text betwen a parameters section and the next section).
114
if isinstance(el, ds.DocstringSectionText):
- # griffe < 0.39
115
+ # handle griffe < 0.39 case
116
splits = cls.split_sections(el.value)
117
for title, body in splits:
118
sub_cls = cls._registry.get(title.lower(), ds.DocstringSectionText)
0 commit comments