-
Notifications
You must be signed in to change notification settings - Fork 113
/
Copy pathnetlify.toml
134 lines (108 loc) · 3.21 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
# netlify.toml
# Default build settings
[build]
command = "hugo"
# "production" environment specific build settings
[build.environment]
NODE_VERSION = "20.16.0" # LTS version
HUGO_VERSION = "0.129.0"
GO_VERSION = "1.22.x" # any reasonably recent version
# "production" environment specific build settings
[context.release.environment]
HUGO_ENV = "production"
# Required for the playground (it needs SharedArrayBuffer).
[[headers]]
for = "/*"
[headers.values]
Cross-Origin-Opener-Policy = "same-origin"
Cross-Origin-Embedder-Policy = "require-corp"
# Internal redirect for playground share URLs.
[[redirects]]
force = false
from = "/play/s/*"
to = "/play/"
status = 200
[[redirects]]
from = "/bluetooth"
to = "https://github.com/tinygo-org/bluetooth#go-bluetooth"
status = 301
[[redirects]]
from = "https://bluetooth.tinygo.org"
to = "https://github.com/tinygo-org/bluetooth#go-bluetooth"
status = 301
[[redirects]]
from = "/compiler-internals/*"
to = "/docs/concepts/compiler-internals/:splat"
status = 301
[[redirects]]
from = "/faq/*"
to = "/docs/concepts/faq/:splat"
status = 301
[[redirects]]
from = "/microcontrollers"
to = "/docs/reference/microcontrollers"
status = 301
[[redirects]]
from = "/microcontrollers/arduino-nano33-iot"
to = "/docs/reference/microcontrollers/arduino-nano33"
status = 301
[[redirects]]
from = "/microcontrollers/arduino-uno"
to = "/docs/reference/microcontrollers/arduino"
status = 301
[[redirects]]
from = "/microcontrollers/circuit-playground-bluefruit"
to = "/docs/reference/microcontrollers/circuitplay-bluefruit"
status = 301
[[redirects]]
from = "/microcontrollers/circuit-playground-express"
to = "/docs/reference/microcontrollers/circuitplay-express"
status = 301
[[redirects]]
from = "/microcontrollers/esp8266-d1mini"
to = "/docs/reference/microcontrollers/d1mini"
status = 301
[[redirects]]
from = "/microcontrollers/dragino-lgt92"
to = "/docs/reference/microcontrollers/lgt-92"
status = 301
[[redirects]]
from = "/microcontrollers/bbc-microbit"
to = "/docs/reference/microcontrollers/microbit"
status = 301
[[redirects]]
from = "/microcontrollers/nintendo-switch"
to = "/docs/reference/microcontrollers/nintendoswitch"
status = 301
[[redirects]]
from = "/microcontrollers/esp8266-nodemcu"
to = "/docs/reference/microcontrollers/nodemcu"
status = 301
[[redirects]]
from = "/microcontrollers/stm32-nucleo-f722ze"
to = "/docs/reference/microcontrollers/nucleo-f722ze"
status = 301
[[redirects]]
from = "/microcontrollers/pinetime"
to = "/docs/reference/microcontrollers/pinetime-devkit0"
status = 301
[[redirects]]
from = "/microcontrollers/stm32f4discovery"
to = "/docs/reference/microcontrollers/stm32f4disco"
status = 301
[[redirects]]
from = "/microcontrollers/stm32-nucleo-l552ze"
to = "/docs/reference/microcontrollers/stm32nucleol552ze"
status = 301
[[redirects]]
from = "/microcontrollers/x9-pro"
to = "/docs/reference/microcontrollers/x9pro"
status = 301
[[redirects]]
from = "/microcontrollers/*"
to = "/docs/reference/microcontrollers/:splat"
status = 301
[[redirects]]
from = "/lang-support/*"
to = "/docs/reference/lang-support/:splat"
status = 301