Skip to content

Commit

Permalink
fix: Actually check if a module is public when rendering auto-generat…
Browse files Browse the repository at this point in the history
…ed summary table for modules

Issue-203: #203
  • Loading branch information
pawamoy committed Dec 3, 2024
1 parent a669f1c commit 3bf55b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mkdocstrings_handlers/python/rendering.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ def do_as_modules_section(
description=module.docstring.value.split("\n", 1)[0] if module.docstring else "",
)
for module in modules
if not check_public or module
if not check_public or module.is_public
],
)

Expand Down

0 comments on commit 3bf55b2

Please sign in to comment.