1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:54:43 -07:00
go/godoc/redirect
Russ Cox 5785dc19d7 godoc: redirect bogus /doc/spec links to /ref/spec
It was not enough to make /ref/spec work (which it now does),
because some of the docs on golang.org (in particular golang.org/doc)
are pulled from tip, and tip links to /doc/spec now.
Make those "too new" links work by redirecting /doc/spec
back to /ref/spec for now.

TBR=adg
CC=golang-dev
https://golang.org/cl/14348043
2013-10-03 13:41:38 -04:00
..
redirect.go godoc: redirect bogus /doc/spec links to /ref/spec 2013-10-03 13:41:38 -04:00