Use uv to install docs with dependency groups
This commit is contained in:
+9
-7
@@ -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
|
|
||||||
Reference in New Issue
Block a user