Skip to content

Commit

Permalink
project: Update readthedocs configuration for uv
Browse files Browse the repository at this point in the history
  • Loading branch information
StuartMacKay committed Dec 29, 2024
1 parent 39a72b7 commit b4f36f6
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
---
version: 2
python:
version: 3.8
install:
- requirements: requirements/docs.txt
- method: pip
path: .
sphinx:
builder: html
configuration: docs/conf.py

build:
os: ubuntu-20.04
tools:
python: '3.8'
commands:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
- uv sync --extra docs --frozen
- uv run -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html

0 comments on commit b4f36f6

Please sign in to comment.