title: FileNotFoundError: [Errno 2] when using sphinx and autodoc
body: <p>I am trying to use sphinx to run an autodoc. My project structure like this:</p>
  
  <p><a href="https://i.stack.imgur.com/cIDGe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cIDGe.png" alt="enter image description here"></a></p>
  
  <p>Where the python files are reading from <code>input/input.xlsx</code>.
  My <code>conf.py</code> looks like:</p>
  
  <pre><code>import os 
  import sys 
  sys.path.insert(0, os.path.abspath('../../'))
  
  extensions = ['sphinx.ext.autodoc']
  </code></pre>
  
  <p>I run the <code>./docs/sphinx-apidoc -o ./source ../</code> where it creates a: </p>
  
  <blockquote>
    <p>module.rst</p>
  </blockquote>
  
  <p>and: </p>
  
  <blockquote>
    <p>My_Project.rst</p>
  </blockquote>
  
  <p>inside the <code>./docs/source</code>. </p>
  
  <p>My issue is that when I build the <code>make html</code>, it gives me errors like:</p>
  
  <blockquote>
    <p>FileNotFoundError: [Errno 2] No such file or directory: './input'</p>
  </blockquote>
  
  <p>However, as I have set in <code>conf.py</code>, it should logically go two levels high and one level down to <code>/input</code> folder.</p>
  
  <blockquote>
    <p>../../input</p>
  </blockquote>
  
  <p>Appreciate any ideas.</p>