【发布时间】:2017-07-08 18:19:32
【问题描述】:
我的 repo 位于 github 上:https://github.com/AshleySetter/optoanalysis
文档位于https://github.com/AshleySetter/optoanalysis/tree/master/optoanalysis/docs
ReadTheDocs 没有失败,但生成的文档(在此处托管:https://optoanalysis.readthedocs.io/en/latest/)不显示应由 ..autodoc:: 命令生成的文档字符串。
但是它在本地运行良好,并在我打开 build/html/index.html 文件时显示文档。
在 ReadTheDocs 上看起来像:
而本地构建的 html 文件如下所示:
为什么会这样?
【问题讨论】:
标签: git github python-sphinx read-the-docs