Use uv sync & uv run in docs build (#5440)

* Use uv sync to build the docs with Sphinx
This commit is contained in:
Bruno Alla 2024-10-08 02:54:24 -03:00 committed by GitHub
parent d95f88142c
commit 214e5f5d34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: