title: Using sphinx for very basic structure
body: <p>This is my file hierarchy:</p>
  
  <p>InfoRescue<br>
  |<br>
  |_ src<br>
  |<br>
  |_ _ _ includes<br>
  |<br>
  |_ _ _ _ _ i1.py<br>
  |_ _ _ _ _ i2.py<br>
  |_ _ _ _ _ <strong>init</strong>.py<br>
  |<br>
  |_ _ _ utils<br>
  |<br>
  |_ _ _ _ _ u1.py<br>
  |_ _ _ _ _ u2.py<br>
  |_ _ _ _ _ <strong>init</strong>.py<br>
  |<br>
  |_ _ _ doc<br>
  |<br>
  |_ _ _ _ _ index.rst<br>
  |_ _ _ _ _ project.rst<br>
  |_ _ _ _ _ contact.rst<br>
  |_ _ _ _ _ api<br>
  |<br>
  |_ _ _ _ _ _ _ api.rst<br>
  |_ _ _ _ _ _ _ includes.rst<br>
  |_ _ _ _ _ _ _ utils.rst  </p>
  
  <p>I am using Sphinx to generate the documentation. Everything related to sphinx is in <code>doc</code> directory. </p>
  
  <p><strong>My index.rst:</strong></p>
  
  <pre><code>.. InfoRescue documentation master file, created by
     sphinx-quickstart on Sun Sep 15 13:52:12 2013.
     You can adapt this file completely to your liking, but it should at least
     contain the root `toctree` directive.
  
  Welcome to InfoRescue's documentation!
  ======================================
  
  Contents:
  ========
  
  .. toctree::
     :maxdepth: 2
  
     project
     api/api
     contact
  
  Indices and tables
  ==================
  
  * :ref:`genindex`
  * :ref:`modindex`
  * :ref:`search`
  </code></pre>
  
  <p><strong>api.rst</strong>:</p>
  
  <pre><code>InfoRescue API
  **********
  
  .. toctree::
      :glob:
      :maxdepth: 1
  
      **
  </code></pre>
  
  <p>Now inside the utils there are to .py files. Both of these files contain no class and direct code, both only contain functions. To document a function I can use <code>.. autofunction:: utils.u1.functionName</code>. This is working correctly but I have to write like this for every function. <strong>Is there any short way to simply include all the functions?</strong></p>
  
  <p>Suppose both files in includes directory contain no class and function only some (direct) code. <strong>How to generate document for it i.e. which auto-directive to use ?</strong></p>
  
  <p>Also both the <strong>init</strong>.py files inside the utils and includes directory are empty. I made those two so that I can access the files inside those directory from .rst files. <strong>Is there any other approach so that I don't have to create _<em>init</em>_.py files?</strong></p>