forked from cypress-io/cypress-documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
60 lines (49 loc) · 1.03 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
[build]
publish = "dist/"
command = "yarn build"
[context.deploy-preview]
publish = "dist/"
[[redirects]]
from = "/"
to = "/guides/overview/why-cypress/"
status = 200
force = true
[[redirects]]
from = "/guides"
to = "/guides/overview/why-cypress/"
status = 301
force = true
[[redirects]]
from = "/api"
to = "/api/table-of-contents/"
status = 301
force = true
[[redirects]]
from = "/api/api/table-of-contents"
to = "/api/table-of-contents/"
status = 301
force = true
[[redirects]]
from = "/plugins"
to = "/plugins/directory"
status = 301
force = true
[[redirects]]
from = "/examples"
to = "/examples/examples/recipes/"
status = 301
force = true
[[redirects]]
from = "/faq"
to = "/faq/questions/using-cypress-faq/"
status = 301
force = true
[[redirects]]
from = "/guides/dashboard/dashboard-introduction"
to = "/guides/dashboard/introduction/"
status = 301
force = true
[[plugins]]
package = "@netlify/plugin-sitemap"
[plugins.inputs]
baseUrl = "https://docs.cypress.io"