forked from spree/spree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
167 lines (128 loc) · 4.13 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
[Settings]
# Added automatically by the Netlify CLI. It has no effect during normal
# Git-backed deploys.
ID = "49ded9cc-27d3-4e02-b186-4fd7fd334ed8"
# Settings in the [build] context are global and are applied to all contexts
# unless otherwise overridden by more specific contexts.
[build]
# Directory to change to before starting a build.
# This is where we will look for package.json/.nvmrc/etc.
base = "guides/"
# 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 = "guides/public"
# Default build command.
command = "yarn run build"
# release notes redirects
[[redirects]]
from = "/release_notes/spree_*"
to = "/release_notes/:splat"
# User - Users section redirects
[[redirects]]
from = "/user/creating_users.html"
to = "/user/users/creating_users.html"
[[redirects]]
from = "/user/searching_users.html"
to = "/user/users/searching_users.html"
[[redirects]]
from = "/user/deleting_users.html"
to = "/user/users/deleting_users.html"
[[redirects]]
from = "/user/editing_users.html"
to = "/user/users/editing_users.html"
# upgrade redirects
[[redirects]]
from = "/developer/three-dot-*"
to = "/developer/upgrades/three-dot-:splat"
[[redirects]]
from = "/developer/two-dot-*"
to = "/developer/upgrades/two-dot-:splat"
[[redirects]]
from = "/developer/one-dot-*"
to = "/developer/upgrades/one-dot-:splat"
[[redirects]]
from = "/developer/point-*"
to = "/developer/upgrades/point-:splat"
# tutorials redirects
[[redirects]]
from = "/developer/getting_started_tutorial.html"
to = "/developer/tutorials/getting_started_tutorial.html"
[[redirects]]
from = "/developer/api_customization_tutorial.html"
to = "/developer/customization/api_v1.html"
[[redirects]]
from = "/developer/deface_overrides_tutorial.html"
to = "/developer/tutorials/deface_overrides_tutorial.html"
[[redirects]]
from = "/developer/extensions_tutorial.html"
to = "/developer/tutorials/extensions_tutorial.html"
[[redirects]]
from = "/developer/testing.html"
to = "/developer/tutorials/testing.html"
[[redirects]]
from = "/developer/migration.html"
to = "/developer/tutorials/migration.html"
[[redirects]]
from = "/developer/seo.html"
to = "/developer/tutorials/seo.html"
# core
[[redirects]]
from = "/developer/addresses.html"
to = "/developer/core/addresses.html"
[[redirects]]
from = "/developer/adjustments.html"
to = "/developer/core/adjustments.html"
[[redirects]]
from = "/developer/calculators.html"
to = "/developer/core/calculators.html"
[[redirects]]
from = "/developer/inventory.html"
to = "/developer/core/inventory.html"
[[redirects]]
from = "/developer/orders.html"
to = "/developer/core/orders.html"
[[redirects]]
from = "/developer/payments.html"
to = "/developer/core/payments.html"
[[redirects]]
from = "/developer/preferences.html"
to = "/developer/core/preferences.html"
[[redirects]]
from = "/developer/products.html"
to = "/developer/core/products.html"
[[redirects]]
from = "/developer/promotions.html"
to = "/developer/core/promotions.html"
[[redirects]]
from = "/developer/shipments.html"
to = "/developer/core/shipments.html"
[[redirects]]
from = "/developer/taxation.html"
to = "/developer/core/taxation.html"
# customization
[[redirects]]
from = "/developer/authentication.html"
to = "/developer/customization/authentication.html"
[[redirects]]
from = "/developer/i18n.html"
to = "/developer/customization/i18n.html"
[[redirects]]
from = "/developer/view.html"
to = "/developer/customization/view.html"
[[redirects]]
from = "/developer/asset.html"
to = "/developer/customization/asset.html"
[[redirects]]
from = "/developer/logic.html"
to = "/developer/customization/logic.html"
[[redirects]]
from = "/developer/images.html"
to = "/developer/customization/images.html"
[[redirects]]
from = "/developer/checkout.html"
to = "/developer/customization/checkout.html"
# other
[[redirects]]
from = "/user/configuring_taxonomies.html"
to = "/user/products/taxonomies_and_taxons.html"