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: mkdocstrings#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

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy