From d611689a270d8a90981e7b715c697a769305d8c0 Mon Sep 17 00:00:00 2001 From: Stefan Appelhoff Date: Fri, 21 Jan 2022 10:32:38 +0100 Subject: [PATCH] [INFRA] Fix linkchecker (#982) * ignore failing urls * forgot \ * also ignore DOI * Update .circleci/config.yml Co-authored-by: Chris Markiewicz * remove comment Co-authored-by: Chris Markiewicz --- .circleci/config.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 272ffdb56c..db88083e9a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -48,9 +48,11 @@ jobs: # failures for local file:/// -- yoh found no better way, linkchecker -t 1 --check-extern \ --ignore-url 'file:///.*' \ - --ignore-url https://fonts.gstatic.com \ - --ignore-url "https://github.com/bids-standard/bids-specification/(pull|tree)/.*" \ - --ignore-url "https://github.com/[^/]*" \ + --ignore-url 'https://fonts.gstatic.com' \ + --ignore-url 'https://github.com/bids-standard/bids-specification/(pull|tree)/.*' \ + --ignore-url 'https://github.com/[^/]*' \ + --ignore-url 'https://doi.org/.*' \ + --ignore-url 'https://bids-specification.readthedocs.io/en/stable/.*' \ ~/project/site/*html ~/project/site/*/*.html else echo "Release PR - do nothing"