If you generate documentation for the mypkg module, portray correctly identifies subpkg2 as a submodule. However, it doesn't recognize subpkg1 as a submodule because there's no __init__.py file inside it.
It would be useful if portray can also identify the implicit namespace packages as submodules.
Portray does not seem to recognize Implicit Namespace Packages. [see PEP 420]
Consider below directory structure:
If you generate documentation for the
mypkg
module, portray correctly identifiessubpkg2
as a submodule. However, it doesn't recognizesubpkg1
as a submodule because there's no__init__.py
file inside it.It would be useful if portray can also identify the implicit namespace packages as submodules.