Skip to content

Commit

Permalink
Update uv in RTD config
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhollas committed Jan 8, 2025
1 parent 1b245c0 commit fa06f32
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,17 @@ build:
os: ubuntu-22.04
tools:
python: '3.11'
commands:
- asdf plugin add uv
- asdf install uv 0.1.44
- asdf global uv 0.1.44
- uv venv
- uv pip install .[docs]
- .venv/bin/python -m sphinx -W --keep-going -d _build/doctrees -D language=en -b html docs/source $READTHEDOCS_OUTPUT/html
jobs:
# Use uv to speed up the build
# https://docs.readthedocs.io/en/stable/build-customization.html#install-dependencies-with-uv
pre_create_environment:
- asdf plugin add uv
- asdf install uv 0.5.15
- asdf global uv 0.5.15
create_environment:
- uv venv
install:
- uv pip install .[docs]
build:
html:
- uv run -m sphinx -W --keep-going -d _build/doctrees -D language=en -b html docs/source $READTHEDOCS_OUTPUT/html

0 comments on commit fa06f32

Please sign in to comment.