mkdocstrings · GitHub

Commit 3bf55b2

committed

fix: Actually check if a module is public when rendering auto-generated summary table for modules

Issue-203: #203

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/mkdocstrings_handlers/python

Lines changed: 1 addition & 1 deletion

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)

Read the original on github.com ↗