forked from avo-hq/docs.avohq.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
113 lines (94 loc) · 2.06 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
[[redirects]]
from = "/3.0/recipes.html"
to = "/3.0/guides.html"
status = 301
force = false
[[redirects]]
from = "/3.0/localization.html"
to = "/3.0/i18n.html"
status = 301
force = false
[[redirects]]
from = "/3.0/localization"
to = "/3.0/i18n"
status = 301
force = false
# [[redirects]]
# from = "/3.0/:dir/:page.*"
# to = "/3.0/:dir/:page"
# status = 301
# force = false
[[redirects]]
from = "/3.0/*.md"
to = "/3.0/:splat"
status = 301
force = false
[[redirects]]
from = "/3.0/fields/*.md"
to = "/3.0/fields/:splat"
status = 301
force = false
[[redirects]]
from = "/3.0/recipes/*"
to = "/3.0/guides/:splat"
status = 301
force = false
[[redirects]]
from = "/3.0/gemfile-environment-variables.html"
to = "/3.0/gem-server-authentication.html"
status = 301
force = false
# Redirects for 2.0 versions
# -------------------------
# [[redirects]]
# from = "/2.0/:dir/:page.*"
# to = "/2.0/:dir/:page"
# status = 301
# force = false
[[redirects]]
from = "/2.0/*.md"
to = "/2.0/:splat"
status = 301
force = false
[[redirects]]
from = "/2.0/fields/*.md"
to = "/2.0/fields/:splat"
status = 301
force = false
[[redirects]]
from = "/2.0/stimulus-controllers.html"
to = "/2.0/custom-fields.html#use-pre-built-stimulus-controllers"
status = 301
force = false
# Redirects for old versions
# -------------------------
[[redirects]]
from = "/1.0/*"
to = "https://v1-docs.avohq.io/1.0/:splat"
status = 301
force = false
[[redirects]]
from = "/0.1/*"
to = "https://v1-docs.avohq.io/0.4.x/:splat"
status = 301
force = false
[[redirects]]
from = "/0.4.x/*"
to = "https://v1-docs.avohq.io/0.4.x/:splat"
status = 301
force = false
[[redirects]]
from = "/0.5.x/*"
to = "https://v1-docs.avohq.io/0.5.x/:splat"
status = 301
force = false
[[redirects]]
from = "/0.x/*"
to = "https://v1-docs.avohq.io/0.4.x/:splat"
status = 301
force = false
[[redirects]]
from = "/1.0/fields-reference.html"
to = "https://v1-docs.avohq.io/1.0/field-options.html"
status = 301
force = false