forked from withastro/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
113 lines (86 loc) · 2.61 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
[[headers]]
for = "/_astro/*"
[headers.values]
Cache-Control = "public, max-age=604800, immutable"
[build]
command = "NODE_OPTIONS=--max_old_space_size=4096 pnpm netlify:build"
ignore = "git diff --quiet $COMMIT_REF $CACHED_COMMIT_REF -- /"
[[redirects]]
from = "/reference/renderer-reference"
to = "/en/reference/integrations-reference"
[[redirects]]
from = "/en/reference/renderer-reference"
to = "/en/reference/integrations-reference"
[[redirects]]
from = "/en/core-concepts/component-hydration"
to = "/en/concepts/islands"
[[redirects]]
from = "/core-concepts/component-hydration"
to = "/en/concepts/islands"
[[redirects]]
from = "/en/getting-started/quick-start"
to = "/en/install/auto"
[[redirects]]
from = "/docs/*"
to = "/:splat"
[[redirects]]
from = "/:lang/docs/*"
to = "/:lang/:splat"
[[redirects]]
from = "/:lang/core-concepts/partial-hydration"
to = "/:lang/concepts/islands"
[[redirects]]
from = "/core-concepts/collections"
to = "/en/guides/content-collections"
[[redirects]]
from = "/:lang/core-concepts/collections"
to = "/:lang/guides/content-collections"
[[redirects]]
from = "/comparing-astro-vs-other-tools"
to = "/en/guides/migrate-to-astro"
[[redirects]]
from = "/:lang/comparing-astro-vs-other-tools"
to = "/:lang/guides/migrate-to-astro"
[[redirects]]
from = "/lighthouse/*"
to = "/en/guides/migrate-to-astro"
[[redirects]]
from = "/:lang/guides/publish-to-npm"
to = "/:lang/reference/publish-to-npm"
[[redirects]]
from = "/en/guides/debugging"
to = "/en/guides/troubleshooting"
[[redirects]]
from = "/en/quick-start"
to = "/en/installation"
[[redirects]]
from = "/:lang/concepts/mpa-vs-spa"
to = "/:lang/concepts/why-astro"
[[redirects]]
from = "/:lang/deploy/:service"
to = "/:lang/guides/deploy/:service"
[[redirects]]
from = "/:lang/guides/deploy/layer-zero"
to = "/:lang/guides/deploy/edgio"
[[redirects]]
from = "/:lang/guides/client-side-routing"
to = "/:lang/guides/view-transitions"
[[redirects]]
from = "/:lang/guides/assets"
to = "/:lang/guides/images"
[[redirects]]
from = "/:lang/guides/integrations-guide/image"
to = "/:lang/guides/images"
[[redirects]]
from = "/:lang/migration/0.21.0"
to = "/:lang/guides/upgrade-to/v1"
[[redirects]]
from = "/:lang/migrate"
to = "/:lang/guides/upgrade-to/v1"
[[redirects]]
from = "/"
to = "/en/getting-started"
[[redirects]]
from = "/:lang/*"
to = "/:lang/404/"
status = 404