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

Sphinx automodule works offline but not through readthedocs.org

我似乎无法让 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.