Use uv to install docs with dependency groups

This commit is contained in:
James R. Barlow
2026-01-31 00:05:27 -08:00
parent 9d8aa5a0c3
commit 9dcd882c83
+9 -7
View File
@@ -15,11 +15,13 @@ sphinx:
build: build:
os: ubuntu-22.04 os: ubuntu-22.04
tools: tools:
python: "3.11" python: "3.13"
jobs:
python: pre_create_environment:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
create_environment:
- uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
install: install:
- method: pip - UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --frozen --group docs
path: .
extra_requirements:
- docs