-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathnetlify.toml
82 lines (60 loc) · 2.25 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
[build]
publish = "public"
[[plugins]]
package = "netlify-plugin-hugo-cache-resources"
[plugins.inputs]
# If it should show more verbose logs (optional, default = true)
debug = false
[[plugins]]
# https://github.com/philhawksworth/netlify-plugin-minify-html#readme
package = "netlify-plugin-minify-html"
# Specify which deploy contexts we'll minify HTML in.
# Supports any Deploy Contexts available in Netlify.
# https://docs.netlify.com/site-deploys/overview/#deploy-contexts
[plugins.inputs]
contexts = [
'production',
'branch-deploy',
'deploy-preview'
]
# Optionally, override the default options for the minification
# https://github.com/kangax/html-minifier#options-quick-reference
[plugins.inputs.minifierOptions]
removeComments = true
collapseInlineTagWhitespace = true
[[plugins]]
# https://github.com/cdeleeuwe/netlify-plugin-submit-sitemap#readme
package = "netlify-plugin-submit-sitemap"
[plugins.inputs]
# The base url of your site (optional, default = main URL set in Netlify)
baseUrl = "https://docs.viam.com"
# Path to the sitemap URL (optional, default = /sitemap.xml)
sitemapPath = "/sitemap.xml"
# Time in seconds to not submit the sitemap after successful submission
ignorePeriod = 0
# Enabled providers to submit sitemap to (optional, default = 'google', 'yandex'). Possible providers are currently only 'google', 'yandex'.
providers = [
"google",
"yandex"
]
[[plugins]]
# https://github.com/eggnstone/netlify-plugin-no-more-404/blob/master/manifest.yaml
package = "@eggnstone/netlify-plugin-no-more-404"
# all inputs are optional, we just show you the defaults below
[plugins.inputs]
# change this key to a new one any time you need to restart from scratch
cacheKey = ["Jan232025"]
# either "warn" or "error"
failBuildOnError = true
# (for development) turn true for extra diagnostic logging
debug = true
[[context.deploy-preview.plugins]]
package = "@eggnstone/netlify-plugin-no-more-404"
[context.deploy-preview.plugins.inputs]
failBuildOnError = false
failPluginOnError = true
[[context.branch-deploy.plugins]]
package = "@eggnstone/netlify-plugin-no-more-404"
[context.branch-deploy.plugins.inputs]
failBuildOnError = false
failPluginOnError = true