If I specify module_a to be skipped in autoapi-skip-member, the files for module_a1/module_a2 will still be generated (but not linked to in the documentation for lib/index.html).
I updated my code to also track this to skip the associated child classes as well. While this works in preventing generation of the documention in question, I still get empty lib/module_a/module_a1/index.html files that are generated despite everything in those modules/files being skipped. If a module/file is empty (all marked skipped, nothing links to it), sphinx-autoapi should not generate an empty file.
(Ideally it would be good if we had a way to hook into the children generation code as I am defining inclusion/exclusion on parent objects)
Let's say I have a project:
If I specify module_a to be skipped in autoapi-skip-member, the files for module_a1/module_a2 will still be generated (but not linked to in the documentation for
lib/index.html
).I updated my code to also track this to skip the associated child classes as well. While this works in preventing generation of the documention in question, I still get empty lib/module_a/module_a1/index.html files that are generated despite everything in those modules/files being skipped. If a module/file is empty (all marked skipped, nothing links to it), sphinx-autoapi should not generate an empty file.
(Ideally it would be good if we had a way to hook into the children generation code as I am defining inclusion/exclusion on parent objects)