kernc
kernc
This is [_pydoc_](https://docs.python.org/3/library/pydoc.html), not [_pdoc_](pdoc3.github.io/pdoc/)! :sweat_smile: https://github.com/osrf/rmf_fleet_adapter_python/blob/5f7776c314f3a360786a405435b10d7933fbd8a7/docs/gen_docs.sh#L1
Can you provide a _full_ traceback? It's hard for me to locate where this leaves pdoc3 module space, and I don't feel like compiling your code. :stuck_out_tongue:
Or at least a larger chunk of the traceback, which contains pdoc3 exit-point? :grin: Thanks!
> extreme cases where one would want to override the whole package scan logic (which I need to do right now) Can you elaborate? The industry rightfully doesn't favor monkey-patching...
Since you're familiar with the issue, what is your opinion of the [proposed override using `__pdoc__` dict](https://github.com/pdoc3/pdoc/issues/99#issuecomment-524600606): ```py __pdoc__ = {"some.package.module": False} # Skips some.package.module and descendants ```
> `__pdoc__` seems to be a way to exclude subpackages from within a package I control myself. Not necessarily. As the [docs state](https://pdoc3.github.io/pdoc/doc/pdoc/#overriding-docstrings-with-__pdoc__): > The keys should be string identifiers...
`pdoc foo` uses somewhat undocumented [_text.mako_ template](https://github.com/pdoc3/pdoc/blob/master/pdoc/templates/text.mako), which you can [edit/override per your preference](https://pdoc3.github.io/pdoc/doc/pdoc/#custom-templates). This is primarily a documentation bug.
What _is_ happening instead? Standard output, error?
Interesting. Instead, this should be happening: https://github.com/pdoc3/pdoc/blob/49b7773ba6a96ddee63bf5c4cd48df250ab12c36/pdoc/cli.py#L532-L535 https://github.com/pdoc3/pdoc/blob/49b7773ba6a96ddee63bf5c4cd48df250ab12c36/pdoc/cli.py#L570-L573 What does this return? ```py mod = pdoc.Module('get_config.py') mod.html() ``` There's way too little for me to go by there (`cd yourProject`...
Maybe try absolute instead of relative path. Printed `/home/lucas/gen_config/config/out.cfg` rather indicates that _get_config.py_ is, in fact, imported and executed, is that correct?