Search code examples
pythondocumentationdocumentation-generationpdoc

Pdoc: doesn't generate documentation


I was trying to generate documentation for my python package using pdoc, and it didn't generate any documentation when I ran the command py -m pdoc --html [package name].It outputs the error ...\Python\Python38\python.exe: No module named pdoc.__main__; 'pdoc' is a package and cannot be directly executed Why is this happening?


Solution

  • This problem has been fixed with the release of pdoc 1.0, here is the corresponding GitHub issue: https://github.com/mitmproxy/pdoc/issues/196