Skip to content

Commit 6f31bac

Browse files
committed
Move to uv for readthedocs
1 parent fc5cd4c commit 6f31bac

1 file changed

Lines changed: 15 additions & 10 deletions

File tree

.readthedocs.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
version: 2
22

3-
build:
4-
os: ubuntu-22.04
5-
tools:
6-
python: "3.11"
7-
8-
commands:
9-
- python -m pip install -U pip
10-
- python -m pip install . --group docs
11-
123
sphinx:
13-
configuration: docs/sphinx/source/conf.py
4+
configuration: docs/sphinx/source/conf.py
5+
6+
build:
7+
os: ubuntu-24.04
8+
tools:
9+
python: "3.13"
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 sync --frozen --group docs
1419

1520
formats:
1621
- htmlzip

0 commit comments

Comments
 (0)