diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 1e096e6a..77068b5d 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -4,10 +4,12 @@ build: os: ubuntu-lts-latest tools: python: latest - -python: - install: - - requirements: docs/requirements.txt - -sphinx: - configuration: docs/conf.py + jobs: + post_create_environment: + - asdf plugin add uv + - asdf install uv latest + - asdf global uv latest + - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install --upgrade pip setuptools + - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install --upgrade sphinx + post_install: + - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install -r docs/requirements.txt