Skip to content

Commit 1d6ee7b

Browse files
committed
fix: change rtd config
1 parent 65ce084 commit 1d6ee7b

File tree

1 file changed

+14
-19
lines changed

1 file changed

+14
-19
lines changed

.readthedocs.yaml

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,17 @@
11
version: 2
22

3-
# Specify os and python version
43
build:
5-
os: "ubuntu-24.04"
6-
tools:
7-
python: "3.11"
8-
jobs:
9-
create_environment:
10-
- asdf plugin add uv
11-
- asdf install uv latest
12-
- asdf global uv latest
13-
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync --all-extras --group docs
14-
install:
15-
- "true"
16-
17-
# Build documentation in the docs/ directory with Sphinx
18-
sphinx:
19-
configuration: docs/conf.py
20-
21-
# Optionally build your docs in additional formats such as PDF and ePub
22-
formats: all
4+
os: ubuntu-24.04
5+
tools:
6+
python: "3.11"
7+
jobs:
8+
create_environment:
9+
- asdf plugin add uv
10+
- asdf install uv latest
11+
- asdf global uv latest
12+
- uv venv
13+
install:
14+
- uv sync --extra docs
15+
build:
16+
html:
17+
- uv run sphinx-build -T -b html docs $READTHEDOCS_OUTPUT/html

0 commit comments

Comments
 (0)