title: Using Sphinx to generate Python document using :glob:
body: <p>I am new to Sphinx.</p>
  
  <p>The file <code>/home/user/myproject/docs/source/index.rst</code> is as following:</p>
  
  <pre><code>My project contents:
  
  .. toctree::
     :glob:
  
     *
  </code></pre>
  
  <p>I am getting the below message on running <code>$ make html</code> under <code>/home/user/myproject/docs/</code>:</p>
  
  <pre><code>checking consistency... /home/user/myproject/docs/source/design/index.rst:: WARNING: document isn't included in any toctree
  </code></pre>
  
  <p>What have I done wrongly? I would like Sphinx to automatically generate the structure depending on the directory hierarchy.</p>