草庐IT

nonexisting

全部标签

python - 狮身人面像自动摘要 "toctree contains reference to nonexisting document"警告

我正在尝试使用Sphinx为大型python代码库自动创建api文档。我尝试过使用build_modules.py和sphinx-apidoc。使用任何一个,我都可以在我的输出目录中为包和顶级模块成功创建第一个文档。但是,当我使用构建时makehtml它给出了数千个这种类型的错误::None:WARNING:toctreecontainsreferencetononexistingdocument'rstDocs/src.Example1.class1.method1'对于代码库中的每个类和方法。通过一些实验,我想我发现autosummary/autoclass指令正在创建期望每个类和
12