Skip to content

Commit b1ff0eb

Browse files
authored
Merge pull request #52 from minrk/mystmd-rtd
build myst on readthedocs
2 parents e57ceab + ce01b57 commit b1ff0eb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.readthedocs.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 2
2+
3+
build:
4+
os: "ubuntu-24.04"
5+
tools:
6+
nodejs: "22"
7+
commands:
8+
- npm ci
9+
- mkdir -p $READTHEDOCS_OUTPUT/html/
10+
- BASE_URL="/$READTHEDOCS_LANGUAGE/$READTHEDOCS_VERSION" npm run myst -- build -d --html
11+
- cp -a _build/html/. "$READTHEDOCS_OUTPUT/html"
12+
- rm -r _build

0 commit comments

Comments
 (0)