diff options
Diffstat (limited to 'cmd/gvisor-website/main.go')
-rw-r--r-- | cmd/gvisor-website/main.go | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/cmd/gvisor-website/main.go b/cmd/gvisor-website/main.go index 825a04d59..4c8e7c854 100644 --- a/cmd/gvisor-website/main.go +++ b/cmd/gvisor-website/main.go @@ -28,17 +28,14 @@ import ( var redirects = map[string]string{ "/change": "https://gvisor.googlesource.com/gvisor/", "/cl": "https://gvisor-review.googlesource.com/", - "/godoc": "https://godoc.org/github.com/google/gvisor", "/issue": "https://github.com/google/gvisor/issues", "/issue/new": "https://github.com/google/gvisor/issues/new", } var prefixHelpers = map[string]string{ - "cl": "https://gvisor-review.googlesource.com/c/gvisor/+/%s", - "change": "https://gvisor.googlesource.com/gvisor/+/%s", - "godoc": "https://godoc.org/github.com/google/gvisor/%s", - "issue": "https://github.com/google/gvisor/issues/%s", - "syscall": "/docs/user_guide/compatibility/syscall_reference/#%s", + "cl": "https://gvisor-review.googlesource.com/c/gvisor/+/%s", + "change": "https://gvisor.googlesource.com/gvisor/+/%s", + "issue": "https://github.com/google/gvisor/issues/%s", } var validId = regexp.MustCompile(`^[A-Za-z0-9-]*/?$`) |