Skip to content

Commit

Permalink
Use uv sync & uv run in docs build (#5440)
Browse files Browse the repository at this point in the history
* Use uv sync to build the docs with Sphinx
  • Loading branch information
browniebroke authored Oct 8, 2024
1 parent d95f881 commit 214e5f5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 214e5f5

Please sign in to comment.