You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pdoc by default ignores private classes/functions (names with a leading underscore) in a module from the documentation. However if a module consists entirely of private classes and functions, the submodule still appears within the documentation, except it is simply empty (or displaying just the docstring if there is one). How can I automatically tell pdoc to ignore the module if it doesn't find anything public? I don't want this to be manual because modules change and at some point the module may have something public in it. And I have many modules like this
Additional info
pdoc version: 0.10.0
The text was updated successfully, but these errors were encountered:
One hack is to make the submodule itself private. Having no public classes or functions, this seems reasonable. But as you pointed out, this is only a hack and not a solution.
Pdoc by default ignores private classes/functions (names with a leading underscore) in a module from the documentation. However if a module consists entirely of private classes and functions, the submodule still appears within the documentation, except it is simply empty (or displaying just the docstring if there is one). How can I automatically tell pdoc to ignore the module if it doesn't find anything public? I don't want this to be manual because modules change and at some point the module may have something public in it. And I have many modules like this
Additional info
The text was updated successfully, but these errors were encountered: