Skip to content

Commit df32238

Browse files
committed
change build command in readthedocs.yaml to use jobs section
1 parent 1f06c6b commit df32238

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.readthedocs.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,14 @@ build:
99
os: ubuntu-24.04
1010
tools:
1111
python: "3.12"
12-
commands:
13-
- pip install uv
14-
- uv run sphinx-build -b html docs/source $READTHEDOCS_OUTPUT/html -W
12+
jobs:
13+
create_environment:
14+
- asdf plugin add uv
15+
- asdf install uv latest
16+
- asdf global uv latest
17+
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync --all-extras --group docs
18+
install:
19+
- "true"
1520

1621
# Build documentation in the "docs/" directory with Sphinx
1722
sphinx:

0 commit comments

Comments
 (0)