Skip to content

Commit 87969a4

Browse files
committed
build: use our own containers for RTD
Use for the readthedocs build the same containers as for the CI build. That reduces the amount of stupid build problems. Signed-off-by: Daniel Wagner <wagi@kernel.org>
1 parent 6f2dbe6 commit 87969a4

2 files changed

Lines changed: 4 additions & 21 deletions

File tree

.readthedocs.yaml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,12 @@
22
version: 2
33

44
build:
5-
os: ubuntu-24.04
5+
os: debian
6+
image: ghcr.io/linux-nvme/debian:latest
67
tools:
78
python: "3.11"
89

9-
apt_packages:
10-
- meson
11-
- python3-lxml
12-
- docbook-xsl
13-
- xsltproc
14-
- pandoc
15-
- asciidoc
16-
- xmlto
17-
1810
commands:
19-
- pip install lxml
2011
- scripts/build.sh docs
2112
- mkdir -p $READTHEDOCS_OUTPUT/html/
2213
- cp .build-ci/*.html > $READTHEDOCS_OUTPUT/html/

libnvme/.readthedocs.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,13 @@
11
# SPDX-License-Identifier: Apache-2.0
2-
32
version: 2
43

54
build:
6-
os: ubuntu-24.04
5+
os: debian
6+
image: ghcr.io/linux-nvme/debian:latest
77
tools:
88
python: "3.11"
99

10-
apt_packages:
11-
- meson
12-
- python3-lxml
13-
- docbook-xsl
14-
- xsltproc
15-
- pandoc
16-
1710
commands:
18-
- pip install lxml
1911
- scripts/build.sh rst_docs
2012

2113
sphinx:

0 commit comments

Comments
 (0)