Skip to content

Commit 526c07d

Browse files
committed
Tweak .readthedocs.yml
1 parent 5e4d1b2 commit 526c07d

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

.readthedocs.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,15 @@ build:
99
# Keep version in sync with tox.ini (docs and gh-actions).
1010
python: "3.11"
1111
jobs:
12+
create_environment:
13+
- asdf plugin add uv
14+
- asdf install uv latest
15+
- asdf global uv latest
16+
- uv tool install rust-just
1217
# Need the tags to calculate the version
13-
post_checkout:
14-
- git fetch --tags
15-
post_create_environment:
16-
- "curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py | python3 -"
1718
post_install:
18-
- "VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH ~/.local/bin/pdm sync -dG :all,docs"
19+
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync --group docs --link-mode=copy
20+
- git fetch --tags
21+
build:
22+
html:
23+
- just docs

0 commit comments

Comments
 (0)