title: Python: Generate autodoc with Sphinx on a single module?
body: <p>I'm working on a Python library that only has a single .py module and I'm trying to generate documentation for it from the docstrings. I have Sphinx set up and ran through the spinx-quickstart script, but when I try to run (while in the docs directory)</p>
  
  <pre><code>sphinx-apidoc ../cffiwrap.py -o .
  </code></pre>
  
  <p>But it just says:</p>
  
  <pre><code>../cffiwrap.py is not a directory.
  </code></pre>
  
  <p>Is there some other Sphinx script to autodoc a single file? I thought about just running it against <code>..</code> but then I figured it would run in to my tests directory and try to generate docs from my unit tests...</p>