mirror of
https://github.com/PrivSec-dev/privsec.dev
synced 2024-11-17 12:01:35 -05:00
Add Link Checker
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
30b0561646
commit
962ea5e600
27
netlify.toml
27
netlify.toml
@ -3,3 +3,30 @@
|
|||||||
|
|
||||||
[context.deploy-preview]
|
[context.deploy-preview]
|
||||||
command = "hugo -b $DEPLOY_PRIME_URL"
|
command = "hugo -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
|
[[plugins]]
|
||||||
|
package = "netlify-plugin-checklinks"
|
||||||
|
|
||||||
|
[plugins.inputs]
|
||||||
|
# An array of glob patterns for pages on your site
|
||||||
|
# Recursive traversal will start from these
|
||||||
|
entryPoints = [
|
||||||
|
"*.html",
|
||||||
|
]
|
||||||
|
|
||||||
|
# Recurse through all the links and asset references on your page, starting
|
||||||
|
# at the entrypoints
|
||||||
|
recursive = true
|
||||||
|
|
||||||
|
# Checklinks outputs TAP (https://testanything.org/tap-version-13-specification.html)
|
||||||
|
# by default. Enabling pretty mode makes the output easier on the eyes.
|
||||||
|
pretty = true
|
||||||
|
|
||||||
|
# Report on all broken links to external pages.
|
||||||
|
# Enabling this will make your tests more brittle, since you can't control
|
||||||
|
# external pages.
|
||||||
|
checkExternal = true
|
||||||
|
|
||||||
|
# Enable to check references to source maps, source map sources etc.
|
||||||
|
# Many build tools don't emit working references, so this is disabled by default
|
||||||
|
followSourceMaps = true
|
||||||
|
Loading…
Reference in New Issue
Block a user