使用 Sphinx 显示 html 文档是否需要 doctrees 文件夹?
Is doctrees folder required for displaying html docs with Sphinx?
托管使用 Sphinx 构建的文档时,build
文件夹有两个子目录:doctrees
和 html
。我需要两个文件夹才能正确显示文档,还是只需要 html
文件夹的内容?
如果我确实需要两者,请将 html
文件夹的内容放入我的 public_html
文件夹,并将 doctrees
放在同一级别(在我的网络服务器的可公开访问部分之外) ,维持当前的相对路径关系)还是别的?
我在 Sphinx 的文档中找不到答案。
doctrees
(或.doctrees
)文件夹包含源 *.rst 文档的腌制缓存,不需要正确显示文档。为此,您只需要 html
文件夹的内容。
参见http://www.sphinx-doc.org/en/master/man/sphinx-build.html#cmdoption-sphinx-build-d。
托管使用 Sphinx 构建的文档时,build
文件夹有两个子目录:doctrees
和 html
。我需要两个文件夹才能正确显示文档,还是只需要 html
文件夹的内容?
如果我确实需要两者,请将 html
文件夹的内容放入我的 public_html
文件夹,并将 doctrees
放在同一级别(在我的网络服务器的可公开访问部分之外) ,维持当前的相对路径关系)还是别的?
我在 Sphinx 的文档中找不到答案。
doctrees
(或.doctrees
)文件夹包含源 *.rst 文档的腌制缓存,不需要正确显示文档。为此,您只需要 html
文件夹的内容。
参见http://www.sphinx-doc.org/en/master/man/sphinx-build.html#cmdoption-sphinx-build-d。