summaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authorIan Lewis <ianmlewis@gmail.com>2019-10-18 02:40:54 -0400
committerIan Lewis <ianlewis@google.com>2019-10-24 10:20:30 +0900
commit514f16b290229cc1105cdaf8102fee59b1365aee (patch)
tree856fede0fd091098bdab4996b027ebe8e8179613 /cmd
parent53e921eb38e38867363f2203d2f883dadf3b5a2d (diff)
Fix links on website.
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gvisor-website/main.go11
1 files changed, 9 insertions, 2 deletions
diff --git a/cmd/gvisor-website/main.go b/cmd/gvisor-website/main.go
index be23854a1..f4354f943 100644
--- a/cmd/gvisor-website/main.go
+++ b/cmd/gvisor-website/main.go
@@ -38,9 +38,16 @@ var redirects = map[string]string{
// Redirects to compatibility docs.
"/c": "/docs/user_guide/compatibility/",
"/c/linux/amd64": "/docs/user_guide/compatibility/linux/amd64/",
- // Redirect for old url
- "/docs/user_guide/compatibility/amd64": "/docs/user_guide/compatibility/linux/amd64/",
+
+ // Redirect for old urls
"/docs/user_guide/compatibility/amd64/": "/docs/user_guide/compatibility/linux/amd64/",
+ "/docs/user_guide/compatibility/amd64": "/docs/user_guide/compatibility/linux/amd64/",
+ "/docs/user_guide/kubernetes/": "/docs/user_guide/quick_start/kubernetes/",
+ "/docs/user_guide/kubernetes": "/docs/user_guide/quick_start/kubernetes/",
+ "/docs/user_guide/oci/": "/docs/user_guide/quick_start/oci/",
+ "/docs/user_guide/oci": "/docs/user_guide/quick_start/oci/",
+ "/docs/user_guide/docker/": "/docs/user_guide/quick_start/docker/",
+ "/docs/user_guide/docker": "/docs/user_guide/quick_start/docker/",
// Deprecated, but links continue to work.
"/cl": "https://gvisor-review.googlesource.com",