Open Yoshanuikabundi opened 3 years ago
Oh! Also this is on autoapi 1.6.0, which is the latest available on conda-forge. Sorry if this has been fixed since then! Would be great to get that updated.
We are facing the same issue, any plans to fix this?
Same here, facing same issue: autoapi_python_use_implicit_namespaces = True
seems like not working and I also wonder if there are any plans to fix it?
Same here, facing same issue:
autoapi_python_use_implicit_namespaces = True
seems like not working and I also wonder if there are any plans to fix it?
We used this custom template as a workaround and it has worked well for us. Check API reference at https://astronomer-providers.rtfd.io/
Still facing the same issue, as of autoapi version 2.1.1.
For those who land here from a search engine: there's a --implicit-namespaces
option in the sphinx-apidoc
.
Is this issue still being looked at?
I too have this problem...
Hi! Thanks for your work on this package, it really saved me from a lot of autosummary-related misery.
I've noticed a bug: the
autoapi_python_use_implicit_namespaces
option is fantastic, but it doesn't create a page for implicit namespace packages. If I have a Python project with the following file layout:autoapi
withautoapi_python_use_implicit_namespaces=True
generates the following documentation:In other words, only modules and packages defined with
__init__.py
files (explicit packages) are documented with anindex.rst
. Implicit namespace packages, those defined according to PEP420 without__init__.py
, are not documented. This leads to Sphinx warnings about their children not being included in any toctree.According to PEP420, implicit namespace packages are true packages. The user of the library can't tell the difference without digging. I think implicit namespace packages therefore should be documented as true packages, whose members include only their child modules and packages. Ideally they would also have a docstring that suggests that they're implicit namespace packages!
So in my above example, my expected output would be:
Thanks!