Skip to content

Commit 750a30a

Browse files
committed
Update RTD for uv
1 parent 64f3557 commit 750a30a

1 file changed

Lines changed: 7 additions & 23 deletions

File tree

.readthedocs.yml

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,10 @@
1-
2-
# Read the Docs configuration file
3-
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4-
5-
# Required
61
version: 2
7-
82
build:
9-
os: ubuntu-22.04
3+
os: ubuntu-24.04
104
tools:
11-
python: "3.11"
12-
13-
# Build documentation in the docs/ directory with Sphinx
14-
sphinx:
15-
configuration: docs/conf.py
16-
builder: html
17-
fail_on_warning: true
18-
19-
# Optionally set the version of Python and requirements required to build your docs
20-
python:
21-
install:
22-
# Order might be important since requests needs idna <3 but our dependencies
23-
# install idna 3.1
24-
- method: pip
25-
path: .
26-
- requirements: requirements/docs.txt
5+
python: '3.12'
6+
commands:
7+
- asdf plugin add uv
8+
- asdf install uv latest
9+
- asdf global uv latest
10+
- uv run --group docs sphinx-build -W -b dirhtml docs $READTHEDOCS_OUTPUT/html

0 commit comments

Comments
 (0)