Skip to content

Commit eb7e1f6

Browse files
Update .readthedocs.yml
1 parent c48fbe1 commit eb7e1f6

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.readthedocs.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,21 @@ build:
77
rust: 'latest'
88
# You can also specify other tool versions:
99
jobs:
10-
post_install:
11-
# Install with docs extras
12-
- python -m pip install uv
13-
- UV_PROJECT_ENVIRONMENT=$READTHEDOCS_VIRTUALENV_PATH uv sync
10+
pre_create_environment:
11+
- asdf plugin add uv
12+
- asdf install uv latest
13+
- asdf global uv latest
14+
create_environment:
15+
- cd docs
16+
- uv venv
1417

1518
build:
1619
html:
20+
- cd docs
1721
- zensical build
1822

1923
post_build:
24+
- cd docs
2025
- mkdir -p $READTHEDOCS_OUTPUT/html/
2126
- cp --recursive site/* $READTHEDOCS_OUTPUT/html/
2227

0 commit comments

Comments
 (0)