From 0b025b1193b5cdf9b99a9c02783595df7edeba66 Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Fri, 4 Jan 2019 11:54:00 -0500 Subject: [PATCH] [release-branch.go1.11] cmd/godoc: add x/website redirect Add a redirect for the recently created x/website subrepository. It's not yet included at https://golang.org/pkg/#subrepo because it's in development. Once development reaches the point that x/website is the canonical location of the golang.org server, we can consider including x/website at https://golang.org/pkg/#subrepo (just like x/blog, x/tour, x/build are already included there). Fixes golang/go#29564 Change-Id: I6889c1f5e40f11abca944b217a7354f76c08c8eb Reviewed-on: https://go-review.googlesource.com/c/156337 Reviewed-by: Brad Fitzpatrick Run-TryBot: Dmitri Shuralyov TryBot-Result: Gobot Gobot (cherry picked from commit 9ea1c200b25ea2a4f90be295f0bb17d2d32c635b) Reviewed-on: https://go-review.googlesource.com/c/156338 --- cmd/godoc/x.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/godoc/x.go b/cmd/godoc/x.go index 0e51ea81..be144830 100644 --- a/cmd/godoc/x.go +++ b/cmd/godoc/x.go @@ -47,7 +47,8 @@ var xMap = map[string]xRepo{ "time": {"https://go.googlesource.com/time", "git"}, "tools": {"https://go.googlesource.com/tools", "git"}, "tour": {"https://go.googlesource.com/tour", "git"}, - "vgo": {"https://go.googlesource.com/vgo", "git"}, // Not included at https://golang.org/pkg/#subrepo. + "vgo": {"https://go.googlesource.com/vgo", "git"}, // Not included at https://golang.org/pkg/#subrepo. + "website": {"https://go.googlesource.com/website", "git"}, // Not included at https://golang.org/pkg/#subrepo. } func init() {