-
Notifications
You must be signed in to change notification settings - Fork 7
/
_redirects
30 lines (25 loc) · 1.16 KB
/
_redirects
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
# This is netlify's redirect definition file: https://www.netlify.com/docs/redirects/
# Playground: https://play.netlify.com/redirects
# Redirect default Netlify subdomain to primary domain
https://tutorial-chirimen-org.netlify.com/* https://tutorial.chirimen.org/:splat 301!
# redirect from obsolete path to new path
/raspberrypi/* /raspi/:splat
/raspi3/ja/* /raspi/:splat
/raspi3/en/* /en/raspi/:splat
/raspi3/* /raspi/:splat
/raspi/sdcard2 /raspi/sdcard
/raspi/partslist /partslist
/pizero/pizeronodejs /pizero/
/pizero/pizeronodejs.html /pizero/
/pizero/CHIRIMEN-Nodejs-examples /pizero/esm-examples
# Proxy for build artifacts generated by mdbook
/pizero/*.html /pizero/:splat
/pizero/index /pizero/
/pizero/* /_pages/pizero/:splat 200
# Proxy polyfill and driver files
/raspi/examples/polyfill/* https://chirimen.org/chirimen-raspi3/gc/polyfill/:splat 200
/raspi/examples/drivers/* https://chirimen.org/chirimen-raspi3/gc/drivers/:splat 200
# Proxy i2c example codes
/raspi/examples/section3/* https://chirimen.org/chirimen-raspi3/gc/i2c/:splat 200
/raspi3/appendix0 /js/async
/raspi/appendix0 /js/async