title: How to output a custom static file in Sphinx?
body: <p>Using Sphinx, one can include static files in the _static folder of the build output. How could I copy a static file to the root of the build folder?</p>
  
  <p>Background: I'm hosting the output of a Sphinx project in Azure App Services, and because of a mp4 video in a few pages, I need a "web.config" file with the following entry:</p>
  
  <pre><code>&lt;staticContent&gt;
      &lt;mimeMap fileExtension=".mp4" mimeType="video/mp4" /&gt;
  &lt;/staticContent&gt;
  </code></pre>
  
  <p>I need Sphinx to include the web.config in the root of the build folder.</p>