Skip to content

Commit

Permalink
Warn about link-checking failure
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Nov 7, 2024
1 parent e30560f commit 3a9f0d1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions userguide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"scripts": {
"_build": "npm run _hugo-dev --",
"_check:format": "npx prettier --prose-wrap=always --check .",
"_check:links--warn": "npm run _check:links || (echo; echo 'WARNING: see link-checker output for issues.'; echo)",
"_check:links": "make --keep-going check-links",
"_hugo-dev": "npm run _hugo -- -e dev -DFE",
"_hugo": "hugo --cleanDestinationDir --themesDir ../..",
Expand All @@ -16,8 +17,8 @@
"clean": "rm -Rf public",
"fix:format": "npm run _check:format -- --write",
"make:public": "git init -b main public",
"postbuild:preview": "npm run _check:links",
"postbuild:production": "npm run _check:links",
"postbuild:preview": "npm run _check:links--warn",
"postbuild:production": "npm run _check:links--warn",
"precheck:links:all": "npm run build",
"precheck:links": "npm run build",
"prepare": "cd .. && npm install",
Expand Down

0 comments on commit 3a9f0d1

Please sign in to comment.