File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed
Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,17 @@ sphinx:
1616# Optionally build your docs in additional formats such as PDF and ePub
1717formats : all
1818
19+ # https://docs.readthedocs.com/platform/stable/build-customization.html#install-dependencies-with-uv
1920build :
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
You can’t perform that action at this time.
0 commit comments