File: .readthedocs.yaml

package info (click to toggle)
python-xarray 2025.12.0-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 13,584 kB
  • sloc: python: 118,720; makefile: 269
file content (26 lines) | stat: -rw-r--r-- 634 bytes parent folder | download
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
version: 2

sphinx:
  configuration: doc/conf.py
  fail_on_warning: true

build:
  os: ubuntu-lts-latest
  tools:
    # just so RTD stops complaining
    python: "latest"
  jobs:
    create_environment:
      - asdf plugin add pixi
      - asdf install pixi latest
      - asdf global pixi latest
    post_checkout:
      - (git --no-pager log --pretty="tformat:%s" -1 | grep -vqF "[skip-rtd]") || exit 183
      - git fetch --unshallow || true
    pre_install:
      - git update-index --assume-unchanged doc/conf.py
    install:
      - pixi install -e doc
    build:
      html:
        - pixi run doc BUILDDIR=$READTHEDOCS_OUTPUT