Skip to content

Commit 5539279

Browse files
committed
Use uv in rtd builds
1 parent 37036c9 commit 5539279

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

.readthedocs.yaml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
version: 2
22

3-
python:
4-
version: "3.8"
5-
install:
6-
- requirements: doc/requirements.txt
7-
- method: pip
8-
path: .
9-
- method: pip
10-
path: sphinx-plugin
3+
build:
4+
os: ubuntu-24.04
5+
tools:
6+
python: "3.11"
7+
jobs:
8+
create_environment:
9+
- asdf plugin add uv
10+
- asdf install uv latest
11+
- asdf global uv latest
12+
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync --group doc
13+
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv pip install -e sphinx-plugin
14+
install:
15+
- "true"
16+
1117
sphinx:
1218
configuration: doc/source/conf.py

0 commit comments

Comments
 (0)