Skip to content

Commit f726cef

Browse files
authored
Build the documentation using Pixi (#1469)
1 parent 54a4b7d commit f726cef

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.readthedocs.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,13 @@
44
# Required
55
version: 2
66

7-
# Set the version of Python and other tools you might need
7+
# Build the documentation using Pixi
88
build:
99
os: "ubuntu-24.04"
1010
tools:
11-
python: "miniconda3-3.12-24.9"
12-
13-
# Build documentation in the docs/ directory with Sphinx
14-
sphinx:
15-
configuration: docs/conf.py
16-
17-
# We recommend specifying your dependencies to enable reproducible builds:
18-
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
19-
conda:
20-
environment: docs/environment.yml
11+
python: "3.12"
12+
commands:
13+
- asdf plugin add pixi
14+
- asdf install pixi latest
15+
- asdf global pixi latest
16+
- pixi run -e docs sphinx-build -b html docs ${READTHEDOCS_OUTPUT:-docs/_build}/html

0 commit comments

Comments
 (0)