Skip to content

Commit

Permalink
[INFRA] Fix linkchecker (#982)
Browse files Browse the repository at this point in the history
* ignore failing urls

* forgot \

* also ignore DOI

* Update .circleci/config.yml

Co-authored-by: Chris Markiewicz <[email protected]>

* remove comment

Co-authored-by: Chris Markiewicz <[email protected]>
  • Loading branch information
sappelhoff and effigies authored Jan 21, 2022
1 parent 4bf68b9 commit d611689
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d611689

Please sign in to comment.