Skip to content

Commit

Permalink
Use uv on readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Aug 19, 2024
1 parent af3c575 commit 11f7051
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ build:
os: ubuntu-22.04
tools:
python: "3.10"

python:
install:
- requirements: pydatalab/requirements/requirements-all-dev.txt
- method: pip
path: ./pydatalab

mkdocs:
configuration: ./pydatalab/mkdocs.yml
fail_on_warning: false
commands:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
- cd pydatalab && uv venv
- cd pydatalab && uv pip install -r pydatalab/requirements/requirements-all-dev.txt
- cd pydatalab && uv pip install .
- cd pydatalab && .venv/bin/mkdocs build --site-dir $READTHEDOCS_OUTPUT/html

0 comments on commit 11f7051

Please sign in to comment.