Skip to content

Commit 4c58bd4

Browse files
committed
docs: update readthedocs config
1 parent f23b27b commit 4c58bd4

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

.readthedocs.yml

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
1-
# .readthedocs.yml
21
# Read the Docs configuration file
32
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
43

5-
# Required
64
version: 2
75

8-
# Build documentation in the docs/ directory with Sphinx
9-
sphinx:
10-
configuration: docs/conf.py
11-
12-
# Include PDF and ePub
13-
formats: all
14-
15-
python:
16-
version: "3.10"
17-
install:
18-
- method: pip
19-
path: .
20-
extra_requirements:
21-
- docs
6+
build:
7+
os: ubuntu-22.04
8+
tools:
9+
python: "3.12"
10+
commands:
11+
- asdf plugin add uv
12+
- asdf install uv latest
13+
- asdf global uv latest
14+
- uv venv
15+
- uv pip install .[docs]
16+
- .venv/bin/python -m sphinx -T -b html -d docs/_build/doctrees -D
17+
language=en docs $READTHEDOCS_OUTPUT/html

0 commit comments

Comments
 (0)