title: Why is sphinx automodule not showing any module members?
body: <p>I started working on a python module and wanted to document the code "in place". So i set up sphinx in a subdirectory with sphinx-quickstart resulting in this directory structure (only the files i edited are shown):</p>
  
  <ul>
  <li>myproject/
  
  <ul>
  <li>__init__.py</li>
  <li>main.py</li>
  </ul></li>
  <li>docs/ (sphinx directory)
  
  <ul>
  <li>build/</li>
  <li>source/
  
  <ul>
  <li>conf.py</li>
  <li>index.rst</li>
  </ul></li>
  </ul></li>
  <li>setup.py</li>
  </ul>
  
  <p>My index.rst contains:</p>
  
  <pre><code>Welcome to My Module's documentation!
  =====================================
  
  .. toctree::
     :maxdepth: 2
     :caption: Contents:
  
  .. automodule:: myproject
      :members:
  
  
  Indices and tables
  ==================
  
  * :ref:`genindex`
  * :ref:`modindex`
  * :ref:`search`
  </code></pre>
  
  <p>When i run </p>
  
  <pre><code>make html
  </code></pre>
  
  <p>i get a documentation that is missing the automodule part allthough i documented every class and every method in main.py like this:</p>
  
  <pre><code>class Thing:
      """This class represents Things
  
      :param color: how the thing should look like
      """
  
      def __init__(self, color):
          pass
  
      def color(self):
          """Tells you the color of the thing.
  
          :returns: Color string
          :rtype: str or unicode
          """
          pass
  </code></pre>
  
  <p>Sys.path is also setup correctly, as it throws now error when making</p>
  
  <pre><code>sys.path.insert(0, os.path.abspath('../../'))
  </code></pre>
  
  <p>If it is relevant i also include the setup.py:</p>
  
  <pre><code>from setuptools import setup
  
  setup(name='My Module',
        version='0.1',
        description='Internet of Things',
        url='https://example.com',
        author='Master Yoda',
        author_email='yoda@example.com',
        license='GPLv3',
        packages=['mymodule'],
        zip_safe=False)
  </code></pre>
  
  <p>What can i change to make autodoc work?</p>