Skip to content

Commit 9cf7449

Browse files
committed
docs: speed up RtD
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 2caa38d commit 9cf7449

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

.readthedocs.yml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,13 @@ version: 2
88
build:
99
os: "ubuntu-22.04"
1010
tools:
11-
python: "3.10"
11+
python: "3.12"
1212
apt_packages:
1313
- graphviz
14-
15-
16-
# Build documentation in the docs/ directory with Sphinx
17-
sphinx:
18-
configuration: docs/conf.py
19-
20-
# Include PDF and ePub
21-
formats: all
22-
23-
python:
24-
install:
25-
- method: pip
26-
path: .
27-
extra_requirements:
28-
- docs
14+
commands:
15+
- asdf plugin add uv
16+
- asdf install uv latest
17+
- asdf global uv latest
18+
- uv venv
19+
- uv pip install .[docs]
20+
- .venv/bin/python -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html

0 commit comments

Comments
 (0)