Skip to content

Commit 966eaa2

Browse files
committed
docs: update readthedocs setup
Update the configuration so it works for two projects. Signed-off-by: Daniel Wagner <[email protected]>
1 parent feb4916 commit 966eaa2

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

.libnvme.readthedocs.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
3+
version: 2
4+
5+
build:
6+
os: ubuntu-24.04
7+
tools:
8+
python: "3"
9+
apt_packages:
10+
- meson
11+
- python3-lxml
12+
- docbook-xsl
13+
- xsltproc
14+
- pandoc
15+
jobs:
16+
post_install:
17+
- pip3 install lxml
18+
pre_build:
19+
- meson setup .build -Ddocs=rst -Ddocs-build=true || cat .build/meson-logs/meson-log.txt
20+
- meson compile -C .build
21+
22+
sphinx:
23+
configuration: .build/doc/conf.py

0 commit comments

Comments
 (0)