Skip to content

Commit 998aa1c

Browse files
committed
deps in place to fix ax issues (at least locally), experimenting with pixi envs and builds for docs
1 parent 2290369 commit 998aa1c

4 files changed

Lines changed: 18 additions & 18 deletions

File tree

.readthedocs.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,18 @@ build:
44
os: "ubuntu-22.04"
55
tools:
66
python: "3.10"
7+
commands:
8+
- asdf plugin add pixi
9+
- asdf install pixi latest
10+
- asdf global pixi latest
11+
- pixi run -e docs build-docs
12+
- pixi run -e docs build-pdf
13+
- mkdir -p $READTHEDOCS_OUTPUT/html/
14+
- cp -r docs/_build/html/** $READTHEDOCS_OUTPUT/html/
15+
- cp -r docs/_build/latex/** $READTHEDOCS_OUTPUT/pdf/
716

817
sphinx:
918
configuration: docs/conf.py
1019

1120
formats:
1221
- pdf
13-
14-
python:
15-
install:
16-
- requirements: docs/requirements.txt
17-
- method: pip
18-
path: .
19-
extra_requirements:
20-
- docs

docs/requirements.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

pixi.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,12 @@ mypy = ">=1.19.1,<2"
136136
types-psutil = ">=6.1.0.20241221,<7"
137137
types-pyyaml = ">=6.0.12.20250915,<7"
138138

139+
[tool.pixi.tasks.build-docs]
140+
cmd = "cd docs && make html"
141+
142+
[tool.pixi.tasks.build-pdf]
143+
cmd = "cd docs && make latex"
144+
139145
# Linux dependencies, only for extra tests
140146
[tool.pixi.feature.extra.target.linux-64.dependencies]
141147
scikit-build = "*"
@@ -208,6 +214,7 @@ extra = [
208214
"redis>=7.1.0,<8",
209215
]
210216
dev = ["wat>=0.7.0,<0.8"]
217+
docs = ["pyenchant", "enchant>=0.0.1,<0.0.2"]
211218

212219
# Various config from here onward
213220
[tool.black]

0 commit comments

Comments
 (0)