Skip to content

Commit

Permalink
chore(rtd): Try installing with uv to speed up builds
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Nov 8, 2024
1 parent dd8a5b3 commit 9e63627
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9e63627

Please sign in to comment.