From 9e63627ffa8a342238ff9223f80d76b3c26104fc Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Fri, 8 Nov 2024 10:43:08 -0500 Subject: [PATCH] chore(rtd): Try installing with uv to speed up builds --- .readthedocs.yaml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 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