Skip to content

Commit c0352ac

Browse files
committed
fix rtd?
1 parent 3dac136 commit c0352ac

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.readthedocs.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,15 @@ build:
66
tools:
77
python: "3.11"
88
jobs:
9+
pre_create_environment:
10+
- asdf plugin add uv
11+
- asdf install uv latest
12+
- asdf global uv latest
13+
create_environment:
14+
- uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
15+
install:
16+
- UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --frozen --group docs
917
post_checkout:
1018
- (git --no-pager log --pretty="tformat:%s" -1 | grep -vqF "[skip-rtd]") || exit 183
11-
post_create_environment:
12-
- pip install uv
13-
post_install:
14-
- uv pip install --system -e .
15-
- uv pip install --system --group docs
1619

1720
formats: []

0 commit comments

Comments
 (0)