title: Sphinx, using automodule to find submodules
body: <p>When using sphinx's automodule (<a href="https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html" rel="noreferrer">https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html</a>),</p>
  
  <p>I simply write in a .rst file:</p>
  
  <pre><code>.. automodule:: my_module
      :members:
  </code></pre>
  
  <p>It documents my_module fine, but it doesn't find the inner modules like my_module.inner_module0 and my_module.inner_module1.  Is there something that needs to be specified in the __init__.py file besides the __all__ variable?</p>
  
  <p>Also, I'm aware of <code>sphinx-apidoc</code>.  But that command documents far too much (exposes every function/folder including undocumented ones).</p>