Skip to content

Commit

Permalink
ci: faster readthedocs (#220)
Browse files Browse the repository at this point in the history
* ci: faster readthedocs

Signed-off-by: Henry Schreiner <[email protected]>

* ci: try using build commands

Signed-off-by: Henry Schreiner <[email protected]>

---------

Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii authored May 10, 2024
1 parent 8f30097 commit 11c9677
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,11 @@ version: 2
build:
os: "ubuntu-22.04"
tools:
python: "3.11"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

python:
install:
- method: pip
path: .
extra_requirements:
- docs
python: "3.12"
commands:
- asdf plugin add uv
- asdf install uv latest
- asdf global uv latest
- uv venv
- uv pip install .[docs]
- .venv/bin/python -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html

0 comments on commit 11c9677

Please sign in to comment.