Skip to content

Commit 9e63627

Browse files
committed
chore(rtd): Try installing with uv to speed up builds
1 parent dd8a5b3 commit 9e63627

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.readthedocs.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ build:
44
os: ubuntu-lts-latest
55
tools:
66
python: latest
7-
8-
python:
9-
install:
10-
- requirements: docs/requirements.txt
11-
12-
sphinx:
13-
configuration: docs/conf.py
7+
jobs:
8+
post_create_environment:
9+
- asdf plugin add uv
10+
- asdf install uv latest
11+
- asdf global uv latest
12+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install --upgrade pip setuptools
13+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install --upgrade sphinx
14+
post_install:
15+
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install -r docs/requirements.txt

0 commit comments

Comments
 (0)