Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to get sphinxcontrib.autohttp.flask?

Tags:

python

flask

I am looking to generate automatic documentation for the REST API of a Flask project. I can't locate the sphinx extension sphinxcontrib.autohttp.flask anywhere and it does not seem to come bundled with sphinx. When I run sphinx I get :

Extension error:
Could not import extension sphinxcontrib.autohttp.flask (exception: No module named sphinxcontrib.autohttp.flask)

Can somebody give me a pointer to where to find it?

like image 427
LostInTheFrequencyDomain Avatar asked Sep 24 '14 20:09

LostInTheFrequencyDomain


1 Answers

The sphinxcontrib.autohttp.flask module lives in the sphinxcontrib.httpdomain contrib extension which you can find here https://bitbucket.org/birkenfeld/sphinx-contrib or you can install it directly using pip like this:

pip install sphinxcontrib-httpdomain
like image 127
jbub Avatar answered Sep 25 '22 07:09

jbub