Reputation: 1
sphinx-apidoc supports the option --implicit-namespaces to handle namespace packages according to PEP420. When I create the Sphinx documentation with "python setup.py build_sphinx", this does not work with namespace packages by default. Is there a relation between "python setup.py build_sphinx" and sphinx-apidoc (e. g. is sphinx-apidoc implicitly called somewhere, when "python setup.py build_sphinx" is run?)? If so, can I specifiy somehow that "python setup.py build_sphinx" shall consider the --implicit-namespaces option of sphinx-apidoc?
Upvotes: 0
Views: 1089
Reputation: 1
Looking at the output of "sphinx-quickstart" showed me the 3 steps to generate documentation:
So "sphinx-apidoc" is not implicitly called by "python setup.py build_sphinx", but both must be called one after the other.
Upvotes: 0