title: How to do a link to a file in rst with sphinx?
body: <p>I am writing a documentation and I would like to include links to pdf files or zip archives. How can I achieve that using rst language and sphinx ?</p>
  
  <p>If I do that </p>
  
  <pre><code>here is a pdf file : `pdf &lt;doc/mypdf.pdf&gt;`_
  </code></pre>
  
  <p>It does not work because, during the compilation sphinx do not copy the contains of the doc directory (I use the makefile generated by sphinx-quickstart).</p>
  
  <p>On the contrary, using the <code>image</code> directive :</p>
  
  <pre><code>.. image:: img/plop.png
  </code></pre>
  
  <p>sphinx does copy the plop.png image in build directory. How can I obtain the same behavior for pdf or zip archive ?</p>