Skip to content

Commit

Permalink
add linkchecker ignore for monash and micronoxford
Browse files Browse the repository at this point in the history
  • Loading branch information
pwalczysko committed Mar 28, 2024
1 parent 50b4bec commit daa5de1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Expand Up @@ -8,7 +8,7 @@ docker pull jekyll/builder:pages
docker run --rm -v $PWD:/srv/jekyll -eJEKYLL_UID=$UID jekyll/builder:pages jekyll build --config _config.yml,_prod.yml
# Report 4xx status codes except 429 errors (Too Many Requests)
# typically sent by GitHub while linkchecking the downloads
docker run --rm -v $(pwd)/_site:/site jekyll/builder:pages /usr/gem/bin/htmlproofer /site --only_4xx --ignore-status-codes "429" --ignore-files "/site/minutes/,/minutes/,/site/2014/,/site/2018/,/site/citing-ome/,/site/teams/,/site/about/" --ignore-urls "/medium.com/pangeo/,/twitter.com/,/upf.edu/,/uk1s3.embassy.ebi.ac.uk/,/biorxiv.org/,/meded.hms.harvard.edu/,/loc.gov/,/royalsocietypublishing.org/,/science.1082602/,/www.softwarecollections.org/" --no-enforce-https --allow-missing-href --typhoeus='{"headers" : {"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Brave Chrome/91.0.4472.164 Safari/537.36"}}'
docker run --rm -v $(pwd)/_site:/site jekyll/builder:pages /usr/gem/bin/htmlproofer /site --only_4xx --ignore-status-codes "429" --ignore-files "/site/minutes/,/minutes/,/site/2014/,/site/2018/,/site/citing-ome/,/site/teams/,/site/about/" --ignore-urls "/medium.com/pangeo/,/twitter.com/,/monash.edu/,/micronoxford.com/,/upf.edu/,/uk1s3.embassy.ebi.ac.uk/,/biorxiv.org/,/meded.hms.harvard.edu/,/loc.gov/,/royalsocietypublishing.org/,/science.1082602/,/www.softwarecollections.org/" --no-enforce-https --allow-missing-href --typhoeus='{"headers" : {"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Brave Chrome/91.0.4472.164 Safari/537.36"}}'

# Test file existence
echo "Checking Schemas existence"
Expand Down

0 comments on commit daa5de1

Please sign in to comment.