Skip to content

Commit 4b3b765

Browse files
authored
[PLT-0] Override RTD build commands (#1552)
1 parent 80da681 commit 4b3b765

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

.readthedocs.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,14 @@ version: 2
88
# https://github.com/wemake-services/wemake-django-template/blob/master/.readthedocs.yml
99
build:
1010
os: ubuntu-lts-latest
11-
tools:
12-
python: "3.12"
13-
jobs:
14-
pre_create_environment:
15-
- asdf plugin add rye
16-
- asdf install rye 0.32
17-
- asdf global rye 0.32
18-
- rye config --set-bool behavior.global-python=true
19-
- rye config --set-bool behavior.use-uv=true
20-
post_install:
21-
- rye sync
11+
commands:
12+
- asdf plugin add rye
13+
- asdf install rye latest
14+
- asdf global rye latest
15+
- rye config --set-bool behavior.global-python=true
16+
- rye config --set-bool behavior.use-uv=true
17+
- rye sync
18+
- rye run sphinx-build ./docs $READTHEDOCS_OUTPUT/html
2219

2320
# Build documentation in the docs/ directory with Sphinx
2421
sphinx:

0 commit comments

Comments
 (0)