Skip to content

Commit 5a7b02f

Browse files
committed
SphinxInventoryDecoder: Omit document items
1 parent c0253cb commit 5a7b02f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tasks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ def inv(c, url: str, format: t.Literal["text", "markdown"] = "text"):
2323
if format == "text":
2424
inventory.as_text()
2525
elif format == "markdown":
26-
inventory.as_markdown()
26+
inventory.as_markdown(omit_documents=True)
27+
#inventory.as_markdown(labels_only=True)
2728
else:
2829
raise NotImplementedError(f"Output format not implemented: {format}")
2930

0 commit comments

Comments
 (0)