作者热门文章
- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我希望为 Flask 项目的 REST API 生成自动文档。我无法在任何地方找到 sphinx 扩展 sphinxcontrib.autohttp.flask,它似乎没有与 sphinx 捆绑在一起。当我运行 sphinx 时,我得到:
Extension error:
Could not import extension sphinxcontrib.autohttp.flask (exception: No module named sphinxcontrib.autohttp.flask)
谁能告诉我在哪里可以找到它?
最佳答案
sphinxcontrib.autohttp.flask
模块位于 sphinxcontrib.httpdomain
contrib 扩展中,您可以在这里找到 https://bitbucket.org/birkenfeld/sphinx-contrib或者您可以像这样使用 pip 直接安装它:
pip install sphinxcontrib-httpdomain
关于python - 从哪里获得 sphinxcontrib.autohttp.flask?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26026084/
我希望为 Flask 项目的 REST API 生成自动文档。我无法在任何地方找到 sphinx 扩展 sphinxcontrib.autohttp.flask,它似乎没有与 sphinx 捆绑在一起
我是一名优秀的程序员,十分优秀!