From 7902ddafdfda814253c4d4caba8100d4cd73673e Mon Sep 17 00:00:00 2001 From: Stuart Mumford Date: Wed, 4 Feb 2026 15:14:47 +0000 Subject: [PATCH] Add a RTD file to copy html sources --- .readthedocs.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 00000000..9461c7d1 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,17 @@ +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +version: 2 + +build: + os: ubuntu-24.04 + apt_packages: + - rsync + tools: + python: "3.13" + jobs: + build: + html: + - echo $READTHEDOCS_OUTPUT + - mkdir --parents $READTHEDOCS_OUTPUT/html/ + - rsync -avz --exclude .git --exclude ".*" --exclude _readthedocs --exclude "*.py" --exclude CNAME ./ _readthedocs/html