diff options
author | Doug Hellmann <doug@doughellmann.com> | 2018-01-17 15:34:33 -0500 |
---|---|---|
committer | Doug Hellmann <doug@doughellmann.com> | 2018-01-23 14:21:03 -0500 |
commit | 83f30712b8affef9c5bc6bcc52c4d70797856ece (patch) | |
tree | a56de74ccf41d2442526b25af615b52af408c00f /tests/test_ext_apidoc.py | |
parent | 2398bc9f7752bcd429f49340af80196133091547 (diff) | |
download | sphinx-git-83f30712b8affef9c5bc6bcc52c4d70797856ece.tar.gz |
fix ext.apidoc to include "empty" packages that contain modules
Commit 2d99648e9982325bbd670da11df5f809e3134284 changed the apidoc
extension to ignore packages if the __init__.py file was empty. That
breaks the toctree structure if those packages do contain submodules
and subpackages. This patch adds a check to ensure that empty
__init__.py modules are only skipped if there are no other python
modules in the same directory.
Addresses bug #654
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Diffstat (limited to 'tests/test_ext_apidoc.py')
0 files changed, 0 insertions, 0 deletions