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: