Update .readthedocs.yaml

This commit is contained in:
raghotham 2025-05-27 16:06:12 -07:00 committed by GitHub
parent c053b0e32c
commit 0c494d0b9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,25 +5,21 @@
# Required # Required
version: 2 version: 2
# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/source/conf.py
# Set the OS, Python version and other tools you might need # Set the OS, Python version and other tools you might need
build: build:
os: ubuntu-22.04 os: ubuntu-22.04
tools: tools:
python: "3.12" python: "3.12"
# You can also specify other tool versions: jobs:
# nodejs: "19" pre_create_environment:
# rust: "1.64" - asdf plugin add uv
# golang: "1.19" - asdf install uv latest
jobs: - asdf global uv latest
pre_create_environment: create_environment:
- asdf plugin add uv - uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
- asdf install uv latest install:
- asdf global uv latest - UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --frozen --group docs
create_environment:
- uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
install:
- UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --frozen --group docs
# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/source/conf.py