File: .readthedocs.yaml

package info (click to toggle)
python-xarray 2026.02.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 13,576 kB
  • sloc: python: 120,444; makefile: 269
file content (24 lines) | stat: -rw-r--r-- 561 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
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
    install:
      - pixi install -e doc
    build:
      html:
        - pixi run doc BUILDDIR=$READTHEDOCS_OUTPUT