read-the-docs - 如何查看文件“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']}
解决方案
在 readthedocs.yml 中,我不得不将 setup_py_install 替换为 pip_install。
由于根据文档,这是一个不一致的配置,因此最好收到警告甚至错误消息。
推荐阅读
- reactjs - 使用 React refs 时如何解决这些 TypeScript 错误?
- ajax - Secure REST API token in a JavaScript AJAX call
- node.js - 我如何让一个不和谐的机器人 DM 成为它刚刚踢的人?
- libreoffice-base - 发生异常类型:com.sun.star.lang.IllegalArgumentException 消息:不支持的 URL <>:“来自 LoadEnv::startLoading”
- reactjs - React - 如果它只是一个向下传递的回调,那么命名一个 onClick 函数 ...Handler 是一种好习惯吗?
- python - 无法安装 Geopandas
- python - 连接到远程代理和消费者结果,没有消息
- python-3.x - 如何将列表拆分为数字平方长度的列表列表?
- php - 使用 SQL 修改 wordpress 用户的角色
- javascript - 嗨,只是想在 iframe 中编辑 CSS