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
|