Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3bf55b2

Browse filesBrowse 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
Copy full SHA for 3bf55b2

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎src/mkdocstrings_handlers/python/rendering.py

Copy file name to clipboardExpand all lines: src/mkdocstrings_handlers/python/rendering.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.