From 7fedcd9a374717f298512fe2613e8f1031fe9c9a Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Thu, 18 Jan 2024 18:08:53 +0800 Subject: [PATCH 1/2] CI: Fix the condition for cancel builds on ReadTheDocs --- .readthedocs.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index acb2ab39df9..97eba0a8cd5 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -18,6 +18,7 @@ build: if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && \ git diff --quiet origin/main -- \ doc/ \ + examples \ pygmt/**/*.py \ ':!pygmt/tests' \ README.md \ From 8f476fc8f33e74b5b708bf4a816af5fc14d3deb2 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Thu, 18 Jan 2024 18:10:50 +0800 Subject: [PATCH 2/2] Also fix README.md to README.rst --- .readthedocs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 97eba0a8cd5..5416fad1bc0 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -21,7 +21,7 @@ build: examples \ pygmt/**/*.py \ ':!pygmt/tests' \ - README.md \ + README.rst \ ci/requirements/docs.yml \ .readthedocs.yaml; then