Skip to content

Commit 13c5bb4

Browse files
add in readthedocs.yml
1 parent 3171b63 commit 13c5bb4

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.readthedocs.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
2+
version: 2
3+
4+
build:
5+
os: ubuntu-22.04
6+
tools:
7+
python: "3.11"
8+
9+
# adapted from uv recipe at https://docs.readthedocs.io/en/stable/build-customization.html#install-dependencies-with-uv
10+
# and comment at https://github.com/readthedocs/readthedocs.org/issues/11289#issuecomment-2103832834
11+
commands:
12+
- asdf plugin add uv
13+
- asdf install uv latest
14+
- asdf global uv latest
15+
- asdf global uv latest
16+
- uv sync --extra docs --frozen
17+
- uv run -m sphinx -T -b html -d source/_build/doctrees -D source $READTHEDOCS_OUTPUT/html

0 commit comments

Comments
 (0)