sphinx-apidoc includes special and private modules by default
All files in the following example package will be included by sphinx-apidoc regardless of whether
'special-members' have been specified in
package/ __init__.py _private.py __special__.py public.py
Is this intended behavior? If so, is there a way to instruct
sphinx-apidoc to ignore private and special modules in a package?
I've attached a patch that modifies the
shall_skip function to check whether
'special-members' have been explicitly specified before including private or special modules respectively.