Skip to content

Commit 781dd55

Browse files
committed
fix readthedocs
Signed-off-by: Thijs Baaijen <[email protected]>
1 parent 1f0aed6 commit 781dd55

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.readthedocs.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,15 @@ build:
1313
tools:
1414
python: "3.11"
1515
jobs:
16+
pre_create_environment:
17+
- asdf plugin add uv
18+
- asdf install uv latest
19+
- asdf global uv latest
20+
create_environment:
21+
- uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
22+
install:
23+
- UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --frozen --group doc
1624
post_install:
17-
# Build package with doc requirements from pyproject.optional-dependencies
18-
- pip install --verbose --editable .[doc]
1925
# download support
2026
- wget -P docs/release_and_support https://github.com/PowerGridModel/.github/raw/main/RELEASE.md
2127
- wget -P docs/release_and_support https://github.com/PowerGridModel/.github/raw/main/SUPPORT.md

0 commit comments

Comments
 (0)