From 214e5f5d345540154f1f0385af90f9f0867d189f Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Tue, 8 Oct 2024 02:54:24 -0300 Subject: [PATCH] Use uv sync & uv run in docs build (#5440) * Use uv sync to build the docs with Sphinx --- .readthedocs.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 6af7ce20..45f6183a 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -13,9 +13,8 @@ build: - asdf plugin add uv - asdf install uv latest - asdf global uv latest - - uv venv - - uv pip install .[docs] - - .venv/bin/python -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html + - uv sync --extra docs --no-dev --frozen + - uv run -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html # Build documentation in the docs/ directory with Sphinx sphinx: