File tree Expand file tree Collapse file tree 1 file changed +8
-14
lines changed
Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -11,21 +11,15 @@ build:
1111 tools :
1212 python : " 3.11"
1313 jobs :
14- post_create_environment :
15- # Install poetry
16- # https://python-poetry.org/docs/#installing-manually
17- - pip install poetry
18- # Tell poetry to not use a virtual environment
19- - poetry config virtualenvs.create false
20- post_install :
21- # Install dependencies with 'main' and 'docs' dependency group
22- # https://python-poetry.org/docs/managing-dependencies/#dependency-groups
23- - poetry install --only main,docs
14+ pre_create_environment :
15+ - asdf plugin add uv
16+ - asdf install uv latest
17+ - asdf global uv latest
18+ create_environment :
19+ - uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
20+ install :
21+ - UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --frozen --group docs
2422
2523# Build documentation in the docs/ directory with Sphinx
2624sphinx :
2725 configuration : docs/conf.py
28-
29- # If using Sphinx, optionally build your docs in additional formats such as PDF
30- # formats:
31- # - pdf
You can’t perform that action at this time.
0 commit comments