Skip to content

Commit

Permalink
ci(readthedocs): build docs with uv
Browse files Browse the repository at this point in the history
  • Loading branch information
eginhard committed Nov 6, 2024
1 parent ef8158d commit 020a724
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
15 changes: 7 additions & 8 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.11"

# Optionally set the version of Python and requirements required to build your docs
python:
install:
- path: .
extra_requirements:
- docs
python: "3.12"
commands:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
- uv sync --group docs
- uv run -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs/source $READTHEDOCS_OUTPUT/html

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand Down
Empty file removed docs/README.md
Empty file.
6 changes: 0 additions & 6 deletions docs/requirements.txt

This file was deleted.

0 comments on commit 020a724

Please sign in to comment.