gpt4 book ai didi

read-the-docs - 构建失败 Sphinx 错误 contents.rst 未找到

转载 作者:行者123 更新时间:2023-12-03 23:25:35 27 4
gpt4 key购买 nike

我按照阅读文档的说明进行操作,但出现此错误:

bash Sphinx error: master file /home/docs/checkouts/readthedocs.org/user_builds/mybinders/checkouts/latest/docs/source/contents.rst not found



您是否需要阅读 docs yaml 文件?

最佳答案

如果您有自己的 conf.py文件,它会覆盖读取文档的默认值 conf.py .默认情况下,Sphinx 期望主文​​档为 contents .阅读文档将主文档设置为 index相反(或您在设置中指定的任何内容)。尝试将此添加到您的 conf.py :

master_doc = 'index'

有关更多信息,请查看此问题: https://github.com/rtfd/readthedocs.org/issues/2569

关于read-the-docs - 构建失败 Sphinx 错误 contents.rst 未找到,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56336234/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com