llvmlite/.readthedocs.yaml

26 lines
488 B
YAML

# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
build:
os: ubuntu-22.04
tools:
python: "3.11"
apt_packages:
- llvm-15
jobs:
post_checkout:
- sed -i "s/'llvm-config'/'llvm-config-15'/g" ffi/build.py
sphinx:
configuration: docs/source/conf.py
fail_on_warning: true
python:
install:
- requirements: docs/rtd-requirements.txt
- method: pip
path: .