Closed
Description
Expected Behavior
Runing pdoc3 cli inside active venv shell session:
(venv) C:\Users\me\dev\fooproject>pdoc --html foo
Documentation should be generated based on modules active in the virtual environment.
Actual Behavior
ModuleNotFoundError and ImportError raised for any modules/packages imported by foo that are not present in the system Python directory.
Steps to Reproduce
- Activate virtual environment.
- run pdoc cli for module that imports resources that are in the virtual environment but are not in the system environment.
Additional info
- pdoc version:0.5.3
- platform: Windows 10