From 514f16b290229cc1105cdaf8102fee59b1365aee Mon Sep 17 00:00:00 2001 From: Ian Lewis Date: Fri, 18 Oct 2019 02:40:54 -0400 Subject: Fix links on website. --- cmd/gvisor-website/main.go | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'cmd/gvisor-website') 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", -- cgit v1.2.3