Skip to content

Commit 3bf55b2

Browse files
committed
fix: Actually check if a module is public when rendering auto-generated summary table for modules
Issue-203: #203
1 parent a669f1c commit 3bf55b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mkdocstrings_handlers/python/rendering.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ def do_as_modules_section(
594594
description=module.docstring.value.split("\n", 1)[0] if module.docstring else "",
595595
)
596596
for module in modules
597-
if not check_public or module
597+
if not check_public or module.is_public
598598
],
599599
)
600600

0 commit comments

Comments
 (0)