We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab76672 commit 66766f5Copy full SHA for 66766f5
1 file changed
.readthedocs.yaml
@@ -1,16 +1,20 @@
1
-# .readthedocs.yaml
2
-# Read the Docs configuration file
+# Read the Docs configuration file for myst
3
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4
5
# Required
6
version: 2
7
8
build:
9
os: ubuntu-24.04
10
-
11
tools:
12
- nodejs: "22"
13
+ nodejs: "24"
14
commands:
+ # Install myst
15
- npm install -g mystmd
16
- - cd docs && myst build --html --output _readthedocs/html
+ # Build the site
+ - cd docs && myst build --html
+ # Copy the output to Read the Docs expected location
17
+ - mkdir -p $READTHEDOCS_OUTPUT/html/
18
+ - cp -r docs/_build/html/. "$READTHEDOCS_OUTPUT/html"
19
+ # Clean up build artifacts
20
+ - rm -rf docs/_build
0 commit comments