зеркало из https://github.com/golang/tools.git
undo CL 14368043 / 7750fc1a6bd2
Not the right approach. ««« original CL description go.tools/godoc: reverse reversed redirects Make godoc work again for go spec and memory model doc. TBR=rsc CC=golang-dev https://golang.org/cl/14368043 »»» R=gri CC=golang-dev https://golang.org/cl/14370043
This commit is contained in:
Родитель
51613a10d7
Коммит
0ccb6234c3
|
@ -98,11 +98,11 @@ var redirects = map[string]string{
|
||||||
// "/ref/mem": "/doc/mem",
|
// "/ref/mem": "/doc/mem",
|
||||||
// "/ref/spec": "/doc/spec",
|
// "/ref/spec": "/doc/spec",
|
||||||
|
|
||||||
// In fact, because golang.org pulls some pages from tip, there
|
// In fact, becuase golang.org pulls some pages from tip, there
|
||||||
// are already links on the main golang.org page pointing at
|
// are already links on the main golang.org page pointing at
|
||||||
// the non-existent /ref/spec etc URLs. So redirect the other way.
|
// the non-existent /doc/spec etc URLs. So redirect the other way.
|
||||||
"/ref/mem": "/doc/mem",
|
"/doc/mem": "/ref/mem",
|
||||||
"/ref/spec": "/doc/spec",
|
"/doc/spec": "/ref/spec",
|
||||||
|
|
||||||
"/talks": "http://talks.golang.org",
|
"/talks": "http://talks.golang.org",
|
||||||
"/tour": "http://tour.golang.org",
|
"/tour": "http://tour.golang.org",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче