使用ReadTheDocs构建系统的测试映像版本

2024-09-25 08:28:31 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在使用sphinx autodoc和ReadTheDocs构建系统为我的应用程序构建引用,一些库(实际上是PySide6)需要libc6>;=2.28但是ReadTheDocs构建系统使用的默认映像在libc6 2.27附带的Ubuntu 18.04下运行

我看到在Ubuntu20.04上有一个可用的testing映像(见https://github.com/readthedocs/readthedocs-docker-images),但是当我在.readthedocs.yaml(如https://docs.readthedocs.io/en/stable/config-file/v2.html#build中定义的)中将参数image更改为testing时,容器总是在Ubuntu18.04上运行(当容器更新apt列表时,它会点击仿生repo)

在使用ReadTheDocs构建系统构建文档时,有没有办法使用Ubuntu20.04映像


Tags: httpsgtgithub应用程序ubuntu系统sphinxreadthedocs