Skip to content

Commit 967c544

Browse files
rtd (#55)
1 parent 9c56cdc commit 967c544

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.readthedocs.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,17 @@ sphinx:
1616
# Optionally build your docs in additional formats such as PDF and ePub
1717
formats: all
1818

19+
# https://docs.readthedocs.com/platform/stable/build-customization.html#install-dependencies-with-uv
1920
build:
20-
os: ubuntu-22.04
21+
os: ubuntu-24.04
2122
tools:
22-
python: "3.10"
23-
24-
# Optionally set the version of Python and requirements required to build your docs
25-
python:
26-
install:
27-
- requirements: docs/requirements.txt
28-
- method: setuptools
29-
path: .
23+
python: "3.12"
24+
jobs:
25+
pre_create_environment:
26+
- asdf plugin add uv
27+
- asdf install uv latest
28+
- asdf global uv latest
29+
create_environment:
30+
- uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
31+
install:
32+
- UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --frozen --group docs

0 commit comments

Comments
 (0)