【发布时间】:2016-08-28 03:29:27
【问题描述】:
我正在使用sphinx-autodoc-annotation 来读取我的 Python 代码中的函数注释,并使用它来生成适当的预期参数类型和返回类型。它在我的本地机器上运行良好,但我当然必须pip install sphinx-autodoc-annotation。
我正在尝试使用Read the Docs 生成相同的文档,但它给了我一个错误:
Could not import extension sphinx_autodoc_annotation (exception: No module named sphinx_autodoc_annotation)
是否可以将 Read the Docs 配置为使用 sphinx-autodoc-annotation,如果可以,我该如何使其工作?
【问题讨论】:
标签: python python-sphinx read-the-docs