forked from maidsafe/maidsafe.net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
90 lines (70 loc) · 2.01 KB
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[[redirects]]
from = "career.html"
to = "/"
[[redirects]]
from = "assets.html"
to = "/"
[[redirects]]
from = "features.html"
to = "/"
[[redirects]]
from = "safecoin.html"
to = "/"
[[redirects]]
from = "buy_maidsafecoin.html"
to = "/"
[[redirects]]
from = "company.html"
to = "/about_us"
[[redirects]]
from = "index.html"
to = "/"
[[redirects]]
from = "assets.html"
to = "/"
[[redirects]]
from = "contact.html"
to = "/"
[[redirects]]
from = "terms_and_conditions.html"
to = "/cookies"
[[redirects]]
from = "disclaimer.html"
to = "/disclaimer"
[[redirects]]
from = "privacy.html"
to = "/privacy"
[[redirects]]
from = "credits.html"
to = "/credits"
[[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
# You can mark some check as skipped, which will block checklinks
# from ever attempting to execute them.
# skipPatterns is an array of strings you can match against failing reports
skipPatterns = [
"https://riot.im/app/#/room/#safenetwork:matrix.org",
"https://twitter.com/maidsafe"
]
# You can mark some check as todo, which will execute the check, but allow failures.
# todoPatterns is an array of strings you can match against failing reports
todoPatterns = []
# 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 = false