Skip to content

Commit 47fffcc

Browse files
jsonbaileyclaude
andcommitted
chore: Migrate ReadTheDocs config from Poetry to uv
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 3aa5dd8 commit 47fffcc

1 file changed

Lines changed: 14 additions & 10 deletions

File tree

.readthedocs.yml

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

3-
build:
4-
os: "ubuntu-22.04"
5-
tools:
6-
python: "3.12"
7-
jobs:
8-
post_create_environment:
9-
- python -m pip install poetry
10-
post_install:
11-
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
12-
133
sphinx:
144
builder: html
155
configuration: docs/conf.py
166
fail_on_warning: true
7+
8+
build:
9+
os: ubuntu-24.04
10+
tools:
11+
python: "3.12"
12+
jobs:
13+
pre_create_environment:
14+
- asdf plugin add uv
15+
- asdf install uv latest
16+
- asdf global uv latest
17+
create_environment:
18+
- uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
19+
install:
20+
- UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --frozen --project packages/sdk/server-ai --group docs

0 commit comments

Comments
 (0)