From 02c8806e0cc889490bdd159261d29de980c2d751 Mon Sep 17 00:00:00 2001 From: Cristian Le Date: Thu, 14 Mar 2024 12:03:50 +0100 Subject: [PATCH] Add ReadTheDocs automation Signed-off-by: Cristian Le --- .readthedocs.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 000000000..89afec41b --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,14 @@ +version: 2 +build: + os: ubuntu-22.04 + tools: + nodejs: "20" + commands: + - npm install + - npm run build + - npm run --workspace packages/mystmd link + - myst --version + - cd docs + - myst --version + - myst build --html + - cp -r _build/html $READTHEDOCS_OUTPUT/html