summaryrefslogtreecommitdiff
path: root/sphinx/builders/devhelp.py
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-01-17 15:34:33 -0500
committerDoug Hellmann <doug@doughellmann.com>2018-01-23 14:21:03 -0500
commit83f30712b8affef9c5bc6bcc52c4d70797856ece (patch)
treea56de74ccf41d2442526b25af615b52af408c00f /sphinx/builders/devhelp.py
parent2398bc9f7752bcd429f49340af80196133091547 (diff)
downloadsphinx-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 'sphinx/builders/devhelp.py')
0 files changed, 0 insertions, 0 deletions