Skip to content

Commit c0990c7

Browse files
Anne GentleAnne Gentle
authored andcommitted
Adds netlify.toml file
1 parent fbbb874 commit c0990c7

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

netlify.toml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
[build]
2+
3+
[context.production]
4+
publish = "_site/"
5+
command = "jekyll build"
6+
environment = { JEKYLL_ENV = "production" }
7+
8+
9+
[[plugins]]
10+
package = "netlify-plugin-checklinks"
11+
12+
[plugins.inputs]
13+
# An array of glob patterns for pages on your site
14+
# Recursive traversal will start from these
15+
entryPoints = [
16+
"*.html",
17+
]
18+
19+
# Recurse through all the links and asset references on your page, starting
20+
# at the entrypoints
21+
recursive = true
22+
23+
# Checklinks outputs TAP (https://testanything.org/tap-version-13-specification.html)
24+
# by default. Enabling pretty mode makes the output easier on the eyes.
25+
pretty = true
26+
27+
# You can mark some check as skipped, which will block checklinks
28+
# from ever attempting to execute them.
29+
# skipPatterns is an array of strings you can match against failing reports
30+
skipPatterns = [at: _site/feed.xml]
31+
32+
# You can mark some check as todo, which will execute the check, but allow failures.
33+
# todoPatterns is an array of strings you can match against failing reports
34+
todoPatterns = []
35+
36+
# Report on all broken links to external pages.
37+
# Enabling this will make your tests more brittle, since you can't control
38+
# external pages.
39+
checkExternal = true
40+
41+
# Enable to check references to source maps, source map sources etc.
42+
# Many build tools don't emit working references, so this is disabled by default
43+
followSourceMaps = false

0 commit comments

Comments
 (0)