From 2240de35adbb4a91af4c0501b94fb16e36e483bd Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 27 Mar 2026 23:47:26 +0800 Subject: [PATCH] RTD: use git pathspecs for Python file matching --- .readthedocs.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 5adb50c3d4d..023e40f0dfb 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -18,8 +18,8 @@ build: if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && \ git diff --quiet origin/main -- \ doc/ \ - examples \ - pygmt/**/*.py \ + examples/ \ + pygmt/ \ ':!pygmt/tests' \ README.md \ ci/requirements/docs.yml \