Skip to content

Commit

Permalink
Update uv in RTD config (#660)
Browse files Browse the repository at this point in the history
* Use uv pip install --prefix option
* Don't use uv cache
* RTD: Add configuration file explicitly
* Bump uv to 0.5.17
  • Loading branch information
danielhollas authored Jan 13, 2025
1 parent 0ebfa1c commit 8444f81
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:
pre_create_environment:
- asdf plugin add uv
- asdf install uv 0.5.17
- asdf global uv 0.5.17
create_environment:
- uv venv $READTHEDOCS_VIRTUALENV_PATH
install:
- uv pip install .[docs] --no-cache --prefix $READTHEDOCS_VIRTUALENV_PATH

sphinx:
builder: html
fail_on_warning: true
configuration: docs/source/conf.py

0 comments on commit 8444f81

Please sign in to comment.