diff options
-rw-r--r-- | cmd/gvisor-website/main.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/gvisor-website/main.go b/cmd/gvisor-website/main.go index 01ad9153a..decab8a40 100644 --- a/cmd/gvisor-website/main.go +++ b/cmd/gvisor-website/main.go @@ -30,11 +30,15 @@ import ( ) var redirects = map[string]string{ + // Github redirects "/change": "https://github.com/google/gvisor", "/issue": "https://github.com/google/gvisor/issues", "/issue/new": "https://github.com/google/gvisor/issues/new", "/pr": "https://github.com/google/gvisor/pulls", + // For links + "/faq": "/docs/user_guide/faq/", + // Redirects to compatibility docs. "/c": "/docs/user_guide/compatibility/", "/c/linux/amd64": "/docs/user_guide/compatibility/linux/amd64/", |