Skip to content

Commit 72a99b4

Browse files
use uv for RTD
1 parent 1464ada commit 72a99b4

1 file changed

Lines changed: 10 additions & 12 deletions

File tree

.readthedocs.yaml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,14 @@ build:
77
os: ubuntu-lts-latest
88
tools:
99
python: latest
10-
jobs:
11-
pre_create_environment:
12-
- asdf plugin add uv
13-
- asdf install uv latest
14-
- asdf global uv latest
15-
create_environment:
16-
- uv venv $READTHEDOCS_VIRTUALENV_PATH
17-
install:
18-
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv pip install -r docs/requirements.txt --link-mode=copy
19-
build:
20-
html:
21-
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv run sphinx-build docs/source/ -T -W --keep-going --builder html -d _build/doctrees/ -D language=en $READTHEDOCS_OUTPUT/html/
10+
11+
python:
12+
install:
13+
- method: uv
14+
command: pip
15+
requirements: docs/requirements.txt
16+
17+
18+
sphinx:
19+
configuration: docs/source/conf.py
2220

0 commit comments

Comments
 (0)