summaryrefslogtreecommitdiffstats
path: root/.readthedocs.yaml
blob: 8744afb52a4739d3b125ab7e48a78470e30c736e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright (c) 2022, Dell Inc. or its subsidiaries.  All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# See the LICENSE file for details.
#
# This file is part of NVMe STorage Appliance Services (nvme-stas).
#
# Authors: Martin Belanger <Martin.Belanger@dell.com>
#

version: 2

python:
  system_packages: true

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 -Dreadthedocs=true || cat .build/meson-logs/meson-log.txt
      - ninja -C .build

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