import os
import sys
sys.path.insert(0, os.path.abspath('.'))
extensions = ['sphinxcontrib.autohttp.flask',
    'sphinxcontrib.autohttp.flaskqref']
How to configure Sphinx auto flask to document flask-restful API?