forked from home-assistant/companion.home-assistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
117 lines (98 loc) · 2.64 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# Settings in the [build] context are global and are applied to all contexts
# unless otherwise overridden by more specific contexts.
# See: https://docs.netlify.com/configure-builds/file-based-configuration
[build]
# Directory to change to before starting a build.
# This is where we will look for package.json/.nvmrc/etc.
base = ""
# Directory (relative to root of your repo) that contains the deploy-ready
# HTML files and assets generated by the build. If a base directory has
# been specified, include it in the publish directory path.
publish = "build"
# Default build command.
command = "yarn build"
[[redirects]]
from = "/docs/en/core/index.html"
to = "/docs/core/core"
status = 301
force = true
[[redirects]]
from = "/docs/en/getting_started/index.html"
to = "/docs/getting_started"
status = 301
force = true
[[redirects]]
from = "/docs/en/integrations/index.html"
to = "/docs/integrations/integrations"
status = 301
force = true
[[redirects]]
from = "/docs/en/troubleshooting/setup.html"
to = "/docs/troubleshooting/faqs"
status = 301
force = true
[[redirects]]
from = "/docs/en/troubleshooting/beta-cleaning.html"
to = "/docs/troubleshooting/resetting"
status = 301
force = true
[[redirects]]
from = "/docs/en/troubleshooting/integrations.html"
to = "/docs/troubleshooting/troubleshooting-integrations"
status = 301
force = true
[[redirects]]
from = "/docs/en/next/core/index.html"
to = "/docs/core/core"
status = 301
force = true
[[redirects]]
from = "/docs/en/next/getting_started/index.html"
to = "/docs/getting_started"
status = 301
force = true
[[redirects]]
from = "/docs/en/next/integrations/index.html"
to = "/docs/integrations/integrations"
status = 301
force = true
[[redirects]]
from = "/docs/en/next/troubleshooting/setup.html"
to = "/docs/troubleshooting/faqs"
status = 301
force = true
[[redirects]]
from = "/docs/en/next/troubleshooting/beta-cleaning.html"
to = "/docs/troubleshooting/resetting"
status = 301
force = true
[[redirects]]
from = "/docs/en/next/troubleshooting/integrations.html"
to = "/docs/troubleshooting/troubleshooting-integrations"
status = 301
force = true
[[redirects]]
from = "/en/*"
to = "/docs/:splat"
status = 301
force = true
[[redirects]]
from = "/docs/misc/errors"
to = "/docs/troubleshooting/errors"
status = 301
force = true
[[redirects]]
from = "/docs/en/next/*"
to = "/docs/:splat"
status = 301
force = true
[[redirects]]
from = "/docs/en/1.0.0/*"
to = "/docs/:splat"
status = 301
force = true
[[redirects]]
from = "/docs/en/*"
to = "/docs/:splat"
status = 301
force = true