Skip to content

Commit 14f0ebe

Browse files
committed
Filter out private classes from API docs
1 parent 7e1f765 commit 14f0ebe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ packages = ["modulino"]
66
[[tool.pydoc-markdown.processors]]
77
type = "filter"
88
skip_empty_modules = true
9-
expression = "not \"modulino.lib\" in name and default()"
9+
do_not_filter_modules = false
10+
# Private classes need to be excluded explicitly since this is not supported yet by the filter processor
11+
expression = "not 'modulino.lib' in name and not (name.startswith('_') and not name.endswith('_')) and default()"
1012

1113
[[tool.pydoc-markdown.processors]]
1214
type = "google"

0 commit comments

Comments
 (0)