MkDocs deploy with python on gunicorn
<p>Could every one help me please!</p>

<p>I have one problem with MkDocs deploy with my existing python project in nginx and gunicorn.</p>

<p>Problem is:</p>

<p><code>If I use python run.py it's working fine, but I use supervisor gunicorn it's not work.</code></p>

<p>Python script:</p>

<pre><code>docs = os.path.join(os.path.dirname(os.path.abspath(__file__)), "site")

@app.route('/app/docs/', methods=['GET'])
@app.route('/app/docs/&lt;path:path&gt;', methods=['GET'], defaults={'path': None})
@app.route('/app/docs/&lt;path:path&gt;', methods=['GET'])
def static_proxy(path=''):
    if path[-3:] not in ['css', '.js', 'png']:
        path = os.path.join(path,'index.html')

    return send_from_directory(docs, path)
</code></pre>

<p>any help please?</p>