title: Include a text file *as is* in (Python) Sphinx Docs
body: <p>(using Python-Sphinx Documentation tool)</p>
  
  <p>I have a <code>.txt</code> log file I'd like to build into <code>_build/html</code> <em>unaltered</em>.  What do I need to alter in <code>conf.py</code>, <code>index.rst</code>, etc.</p>
  
  <p>Here is the layout:</p>
  
  <pre><code>src/
      index.rst
      some_doc.rst
      somefile.txt
  </code></pre>
  
  <p>How do I get <code>somefile.txt</code> into the html build?  I tried adding a line like this
  to <code>index.rst</code>:</p>
  
  <pre><code>Contents:
  
  .. toctree::
     :maxdepth: 2
  
     some_doc
     "somefile.txt"
  </code></pre>
  
  <p>hoping it would work by magic, but no magic here!</p>
  
  <p>Assuming this is even possible, what would I put in <code>some_doc.rst</code> to refer/link 
  to that file?</p>
  
  <p><strong>Note</strong>  Yes, I'm aware I could put it in <strong>/static</strong> and just be done with it, 
  but that seems like a total hack, and ugly.</p>