title: overwrite .rst files during Sphinx documentation
body: <p>Let us say that we have a document structure that looks like the following</p>
  
  <pre><code>.
  |____src
  | |____abc.py
  |____docs
  </code></pre>
  
  <p>Now we generate documentation with the command:</p>
  
  <pre><code>sphinx-apidoc -F -o docs src
  </code></pre>
  
  <p>This generates several files within the <code>./docs/</code> folder that, <em>including</em> a <code>./docs/abc.rst</code>, which I can now build using a <code>make html</code> within the <code>./docs/</code> folder. </p>
  
  <p>Now, after adding some additional function within <code>./src/abc.py</code> I want to rebuild the documentation. I try the same things and Sphinx says that the rest file is already present and as a result, it doesn't get updates. <em>I have to manually delete the relevant files before I can update the documentation.</em> </p>
  
  <p>Now the question is, how do I do the entire process without having to resort to deleting the <code>.rst</code> files.</p>