pdoc
pdoc copied to clipboard
enable showing private methods/variables
Expected Behavior
Would like to see private methods/variables in the documentation
Actual Behavior
Methods and variables that begin with "_" are excluded.
Steps to Reproduce
- Generate docs that have a private method.
- See that the private method does not show up
Additional info
- pdoc version: (installed from master) % pdoc --version pdoc 0.10.0
If I change this line: https://github.com/mkinney/pdoc/blob/master/pdoc/init.py#L409
to this:
return not ident_name.startswith("__")
It does what I'd like to see.
Would it make sense to add a command line arg (or configuration setting) that would enable this?
bump
No response ?