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 55d4e98 commit 2ec0a58Copy full SHA for 2ec0a58
quartodoc/autosummary.py
@@ -391,7 +391,9 @@ def _render_object(self, obj):
391
392
# TODO: look up from inventory?
393
link = self.render_item_link(obj)
394
- if len(docstring_parts):
+ if len(docstring_parts) and isinstance(
395
+ docstring_parts[0], ds.DocstringSectionText
396
+ ):
397
# TODO: or canonical_path
398
description = docstring_parts[0].value
399
short = description.split("\n")[0]
0 commit comments