-
-
Notifications
You must be signed in to change notification settings - Fork 217
Closed
Labels
Description
Problem Description
When I specify . while running the pdoc command like python -m pdoc . it throws an error ValueError: No modules found matching spec: . I want to run pdoc from this directory because my pyproject.toml resides in there and I want to specify the command for generating the docs in there. I found a turnaround for this by specifying it like python -m pdoc ..\folder-name. It works but if my folder name has a - in the name it fails with the same error.
Steps to reproduce the behavior:
- Create a project with
pyproject.tomlfile. - Add the pdoc command using poetry poe extension
[tool.poe.tasks.generate-docs-localhost]
cmd = "python -m pdoc .
- Observe the error
ValueError: No modules found matching spec: .
System Information
Paste the output of "pdoc --version" here.
15.0.1
Reactions are currently unavailable