# SPDX-License-Identifier: GPL-2.0-or-later
version: 2

build:
  os: ubuntu-24.04
  tools:
    python: "3.14"
  apt_packages:
    - meson
  jobs:
    install:
      - pip install asciidoc sphinx
    build:
      html:
        - scripts/build.sh html_docs
        - mkdir -p $READTHEDOCS_OUTPUT/html/
        - cp .build-ci/Documentation/*.html $READTHEDOCS_OUTPUT/html/
        - mv $READTHEDOCS_OUTPUT/html/nvme.html $READTHEDOCS_OUTPUT/html/index.html

formats: []
