From 1e07c145549f78bc0cbbd5d94ecb4b72b788b9fd 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 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 000000000..1c7f857b7 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,13 @@ +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 build --html + - mkdir -p $READTHEDOCS_OUTPUT + - cp -r docs/_build/* $READTHEDOCS_OUTPUT/