Skip to content

Commit 7c95aa5

Browse files
committed
Update RTD config
1 parent e4d3936 commit 7c95aa5

1 file changed

Lines changed: 13 additions & 14 deletions

File tree

.readthedocs.yaml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
1-
# Read the Docs configuration file
2-
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3-
41
version: 2
5-
sphinx:
6-
configuration: docs/conf.py
72
build:
8-
os: ubuntu-22.04
3+
os: ubuntu-lts-latest
94
tools:
10-
python: mambaforge-22.9
5+
python: "latest" # just so RTD stops complaining
116
jobs:
12-
pre_build:
13-
- pip install .
14-
- sphinx-build -b linkcheck docs/ _build/linkcheck
15-
- sphinx-apidoc -o docs/api/ --module-first --no-toc --force src/virtualship
16-
17-
conda:
18-
environment: environment.yml
7+
create_environment:
8+
- asdf plugin add pixi
9+
- asdf install pixi latest
10+
- asdf global pixi latest
11+
install:
12+
- pixi install -e docs
13+
build:
14+
html:
15+
- pixi run -e docs sphinx-build -T -b html docs $READTHEDOCS_OUTPUT/html
16+
sphinx:
17+
configuration: docs/conf.py

0 commit comments

Comments
 (0)