diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 880335a..ac86e70 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,19 +1,22 @@ version: 2 +# Specify os and python version build: - os: ubuntu-22.04 + os: "ubuntu-24.04" tools: - python: "3.10" - + python: "3.12" jobs: - pre_build: - - curl -Ls https://astral.sh/uv/install.sh | sh - - export PATH="$HOME/.cargo/bin:$PATH" - - uv sync - - build: - - cd docs - - make html + create_environment: + - asdf plugin add uv + - asdf install uv latest + - asdf global uv latest + - UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync --all-extras + install: + - "true" +# Build documentation in the docs/ directory with Sphinx sphinx: configuration: docs/source/conf.py + +# Optionally build your docs in additional formats such as PDF and ePub +formats: all \ No newline at end of file