Skip to content

Commit 7136e10

Browse files
authored
Add read the docs PR build (#41)
1 parent d38fb9a commit 7136e10

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.readthedocs.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Read the Docs configuration file
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
# Required
5+
version: 2
6+
7+
# Set the OS, Python version, and other tools you might need
8+
build:
9+
os: ubuntu-24.04
10+
tools:
11+
python: "3.12"
12+
jobs:
13+
create_environment:
14+
# uv config from https://docs.readthedocs.com/platform/stable/build-customization.html#install-dependencies-with-uv
15+
- asdf plugin add uv
16+
- asdf install uv latest
17+
- asdf global uv latest
18+
- uv venv $READTHEDOCS_VIRTUALENV_PATH
19+
install:
20+
- uv sync
21+
build:
22+
html:
23+
- uv run python make.py
24+
- mkdir -p $READTHEDOCS_OUTPUT/html/
25+
- cp -r build/html/* $READTHEDOCS_OUTPUT/html/
26+

0 commit comments

Comments
 (0)