File tree Expand file tree Collapse file tree 3 files changed +21
-83
lines changed Expand file tree Collapse file tree 3 files changed +21
-83
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -5,7 +5,27 @@ version: 2
55build :
66 os : ubuntu-22.04
77 tools :
8- python : " mambaforge-4.10"
8+ python : " 3.12"
9+ jobs :
10+ create_environment :
11+ - asdf plugin add pixi
12+ - asdf install pixi latest
13+ - asdf global pixi latest
14+ pre_install :
15+ # https://docs.readthedocs.com/platform/stable/build-customization.html#avoid-having-a-dirty-git-index
16+ - git update-index --assume-unchanged environment.yml docs/conf.py
17+ install :
18+ - pixi install -e doc
19+ post_install :
20+ # Use pixi to run sphinx-build or mkdocs
21+ - echo $PATH
22+ - echo '#! /bin/bash\npixi run -e doc sphinx-build "$@"' > /bin/sphinx-build
23+ - echo '#! /bin/bash\npixi run -e doc mkdocs "$@"' > /bin/mkdocs
24+ - chmod +x /bin/sphinx-build /bin/mkdocs
25+
26+ # build:
27+ # html:
28+ # - pixi run -e doc sphinx-build -W -T -b html docs $READTHEDOCS_OUTPUT/html
929
1030python :
1131 install :
You can’t perform that action at this time.
0 commit comments