python - 将测试映像版本与 ReadTheDocs 构建系统一起使用
问题描述
我正在使用 sphinx autodoc 和 ReadTheDocs 构建系统为我的应用程序构建引用,并且一些库(实际上是 PySide6)需要 libc6 >= 2.28,但 ReadTheDocs 构建系统使用的默认映像在 libc6 2.27 随附的 Ubuntu 18.04 下运行。
我看到有一个testing
可以在 Ubuntu 20.04 上运行的图像(请参阅https://github.com/readthedocs/readthedocs-docker-images)但是当我将参数更改image
为testing
in 时.readthedocs.yaml
(如https://docs. readthedocs.io/en/stable/config-file/v2.html#build)容器始终在 Ubuntu 18.04 上运行(当容器更新 apt 列表时,它会命中仿生存储库)。
有没有办法在使用 ReadTheDocs 构建系统构建文档时使用 Ubuntu 20.04 映像?
解决方案
推荐阅读
- html - 如何解决与正文内容重叠的页脚?
- react-native - 动画启动失败 REACT-NATIVE
- sql-server - 如果字符串为空,则 T-SQL 多个 WHERE 子句
- macos - 如何在 Xamarin.mac 和 Visual Studio 中使用僵尸对象
- grpc - 努力使 gRPC-web 和 HTTPS 工作
- css - Vaadin + Css 格式化
- python - 索引上的 Dask.dataframe.merge 出乎意料地慢
- react-native - 如何在博览会管理的工作流程中以原生反应显示 360 度图像
- python - 如何在 python 中将 epsg:28992 转换为 epsg:3857 以获得匀称的多边形
- javascript - Vue表格行实时搜索和过滤,无需插入数据方法