pbr does not support sphinx-apidoc option --implicit-namespaces
Bug #1701893 reported by
fullname
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PBR |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
PEP420 namespace packages are supported by sphinx-apidoc via the --implicit-
cmd = ['apidoc', '.', '-H', 'Modules', '--implicit-
Changed in pbr: | |
status: | New → Won't Fix |
To post a comment you must log in.
This bug report can be ignored, because the current implementation provides a much more flexible way to pass options to sphinx-apidoc: They can be prepended in setup.cfg / [pbr] / autodoc_ tree_excludes. So I was able to fine-tune sphinx-apidoc behaviour by using the following in setup.cfg:
[files] namespace_ package
namespace_packages =
my_
[pbr] tree_index_ modules = True tree_excludes = --implicit- namespaces -M -e docs tests setup.py
autodoc_
autodoc_