首页 > 解决方案 > 如何查看文件“readthedocs.yml”是否被使用?

问题描述

如果已使用 readthedocs.yml,我如何检查构建日志?

这应该安装 sphinx-argparse 但它没有。

我的项目:https ://gpxity.readthedocs.io

我添加了 readthedocs.yml

 extra_requirements: 

   - doc

在 setup.py 中:

extras_require={ ...'doc': ['sphinx', 'sphinx-autodoc-annotation', 'sphinx-argparse']}

标签: read-the-docs

解决方案


在 readthedocs.yml 中,我不得不将 setup_py_install 替换为 pip_install。

由于根据文档,这是一个不一致的配置,因此最好收到警告甚至错误消息。

请参阅docs.readthedocs


推荐阅读