python - Sphinx automodule 离线工作但不能通过 readthedocs.org

标签 python python-sphinx read-the-docs

我似乎无法让 ReadTheDocs 显示任何模块的 :members:,例如在我的本地 html 中,我得到:

MODULE
module.Beta(r, theta, beta)
    evaluates Beta at point

但是在推送到 github 之后,readthedocs 文档只说:

MODULE

没有出现错误,当我在本地将其构建为 html 时,它运行时没有警告。

如有任何提示,我们将不胜感激!

最佳答案

readthedocs.org 仪表板中检查您的构建日志。

很可能您使用的是无法在 readthedocs.org 上导入的第三方包,因为您没有提供正确的 requirements.txt 文件。

Please see FAQ here .

关于python - Sphinx automodule 离线工作但不能通过 readthedocs.org,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29246562/

相关文章:

python - 在 Read The Docs 侧边栏中显示整个 toctree

python - 无法帮助(执行)

python-sphinx - 如何处理 ReST 中的两个破折号

latex - 将RST中的表转换为LaTeX

javascript - 狮身人面像 :function directive doesn't recognise params

python - python 的 sphinx autodoc 没有显示任何内容(在 readthedocs 上)

read-the-docs - 属性错误: '_NamespacePath' object has no attribute 'sort' on Read the docs

python - Plotly:使用 plotly express line 时如何在 hoverinfo 中格式化日期?

python - 如何使用 Jython 导入 Pandas

python - 错误: No module named 'ttypes'