File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -2,21 +2,18 @@ version: 2
22
33build :
44 os : ubuntu-22.04
5- tools :
6- python : " 3.11"
75 jobs :
86 post_checkout :
97 - (git --no-pager log --pretty="tformat:%s" -1 | grep -vqF "[skip-rtd]") || exit 183
108 - git fetch --unshallow || true
9+ create_environment :
10+ - asdf plugin add pixi
11+ - asdf install pixi latest
12+ - asdf global pixi latest
1113 pre_install :
1214 - git update-index --assume-unchanged docs/conf.py
13-
14- python :
15- install :
16- - requirements : docs/requirements.txt
17- - method : pip
18- path : .
19-
20- sphinx :
21- configuration : docs/conf.py
22- fail_on_warning : true
15+ install :
16+ - pixi install -e docs
17+ build :
18+ html :
19+ - pixi run -e docs build-docs-rtd
Original file line number Diff line number Diff line change @@ -171,6 +171,7 @@ python = "3.13.*"
171171[tool .pixi .feature .docs .tasks ]
172172build-docs = { cmd = " rm -rf generated/; python -m sphinx -b html -w warnings.log -W -Tn -j auto . _build" , cwd = " docs" }
173173autobuild-docs = { cmd = " sphinx-autobuild -b html -w warnings.log -W -Tn -j auto . _build" , cwd = " docs" }
174+ build-docs-rtd = { cmd = " python -m sphinx -b html -W -T -j auto . $READTHEDOCS_OUTPUT/html" , cwd = " docs" }
174175
175176[tool .pixi .environments ]
176177tests = [" tests" ]
You can’t perform that action at this time.
0 commit comments