mirror of https://github.com/grpc/grpc.io.git
Ensure `check-links:all` also builds first (#833)
This commit is contained in:
parent
59ecd268d5
commit
afde634755
|
|
@ -2,6 +2,8 @@ DirectoryPath: public
|
||||||
IgnoreDirectoryMissingTrailingSlash: true
|
IgnoreDirectoryMissingTrailingSlash: true
|
||||||
IgnoreAltMissing: true
|
IgnoreAltMissing: true
|
||||||
CheckDoctype: false # Sadly, this is false only because of `google*.html`
|
CheckDoctype: false # Sadly, this is false only because of `google*.html`
|
||||||
|
IgnoreURLs:
|
||||||
|
- "^https?://localhost.*"
|
||||||
IgnoreInternalURLs:
|
IgnoreInternalURLs:
|
||||||
- /docs/languages/csharp/daily-builds/
|
- /docs/languages/csharp/daily-builds/
|
||||||
- /docs/languages/php/daily-builds/
|
- /docs/languages/php/daily-builds/
|
||||||
|
|
|
||||||
|
|
@ -4,10 +4,11 @@
|
||||||
"build:preview": "hugo --cleanDestinationDir -DFE --minify --baseURL \"${DEPLOY_PRIME_URL:-/}\"",
|
"build:preview": "hugo --cleanDestinationDir -DFE --minify --baseURL \"${DEPLOY_PRIME_URL:-/}\"",
|
||||||
"build:production": "hugo --cleanDestinationDir --minify",
|
"build:production": "hugo --cleanDestinationDir --minify",
|
||||||
"build": "hugo --cleanDestinationDir -e dev -DFE",
|
"build": "hugo --cleanDestinationDir -e dev -DFE",
|
||||||
"check-links:all": "npm run _check-links HTMLTEST_ARGS=",
|
"check-links:all": "HTMLTEST_ARGS= npm run _check-links",
|
||||||
"check-links": "npm run _check-links",
|
"check-links": "npm run _check-links",
|
||||||
"postbuild:preview": "npm run _check-links",
|
"postbuild:preview": "npm run _check-links",
|
||||||
"postbuild:production": "npm run _check-links",
|
"postbuild:production": "npm run _check-links",
|
||||||
|
"precheck-links:all": "npm run build",
|
||||||
"precheck-links": "npm run build",
|
"precheck-links": "npm run build",
|
||||||
"preinstall": "npm run submodule:get",
|
"preinstall": "npm run submodule:get",
|
||||||
"serve": "netlify dev -c \"hugo serve --minify -DFE -w\"",
|
"serve": "netlify dev -c \"hugo serve --minify -DFE -w\"",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue