Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign upUnable to import modules/classes from other pacakges #74
Comments
This comment has been minimized.
This comment has been minimized.
|
Few other people having similar issue, I tried putting all = [] into init.py to make the modules public... did'nt solve the issue |
This comment has been minimized.
This comment has been minimized.
|
Please provide code that reproduces the issue. If I can't reproduce it, then I don't know how to fix it. |
This comment has been minimized.
This comment has been minimized.
devoxel
commented
Nov 10, 2015
|
Reproduction: https://github.com/devoxel/repro-pdoc-behaviour |
This comment has been minimized.
This comment has been minimized.
devoxel
commented
Nov 13, 2015
|
My colleague found a workaround. Import the file from a file and run See the most recent commit here: |
This comment has been minimized.
This comment has been minimized.
tlescoat
commented
Dec 22, 2015
|
Sorry to bump this issue, but the fix mentioned in the stack overflow question is horrible. I think I may have found the solution in this issue: #83 |
gvvka0327 commentedNov 6, 2015
My package structure looks like below,
test1.py imports module1.RestAPI class from /lib package
I was trying to generate pdoc documentation for test1.py, command I am using below,
pdoc --html --all-submodules --overwrite test1.py
I am getting this error below,
Anyone else facing this issue, is there a work-around or is it needs to be fixed in the code?
Thank you