summaryrefslogtreecommitdiffstats
path: root/.readthedocs.yaml
blob: 3505101e8a1aeae9fb416c90f34f17d0c694fbd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# SPDX-License-Identifier: Apache-2.0

version: 2

build:
  os: ubuntu-22.04
  tools:
    python: "3"
  apt_packages:
    - meson
    - python3-lxml
    - docbook-xsl
    - xsltproc
    - pandoc
  jobs:
    post_install:
      - pip3 install lxml
    pre_build:
      - meson .build -Ddocs=rst -Ddocs-build=true || cat .build/meson-logs/meson-log.txt
      - ninja -C .build

sphinx:
  configuration: .build/doc/conf.py