1
0
mirror of https://github.com/golang/go synced 2024-11-18 12:54:44 -07:00
go/cmd
Alan Donovan 6c93dbff3e go.tools/godoc: deal with fallout from $GOROOT/src/pkg -> $GOROOT/src renaming.
To avoid breaking URLs, we redirect /src/pkg/* to /src/*.

The URL /pkg is now the "directory" /src, which triggers the
"Packages" index.

All other references to "src/pkg" are now gone,
except a number in the namespace documentation which are
probably still illustrative.

Tested: go test cmd/godoc godoc
        Manual inspection of src and src/pkg pages.
        with GOROOT and GOPATH packages
        -analysis
        /AUTHORS file URL still works

LGTM=bradfitz, adg
R=bradfitz, adg
CC=golang-codereviews
https://golang.org/cl/141770044
2014-09-10 09:02:54 -04:00
..
benchcmp benchcmp: Fix invocation instructions. 2014-07-22 17:50:39 +10:00
cover cmd/cover: add start lines numbers to each function in -func mode 2014-08-21 16:28:12 -07:00
eg cmd/eg: add -beforeedit flag, which specifies a command to run before editing a file. 2014-08-26 15:52:40 -04:00
godex go.tools/go/gccgoimporter: keep track of package and import priority 2014-06-17 10:56:47 -07:00
godoc go.tools/godoc: deal with fallout from $GOROOT/src/pkg -> $GOROOT/src renaming. 2014-09-10 09:02:54 -04:00
goimports go.tools/cmd/goimports: update doc.go to new emacs instructions 2014-07-01 10:24:22 -07:00
gotype go.tools/cmd/gotype: fix call site (fix build) 2014-06-17 11:06:19 -07:00
html2article html2article: Ignore empty anchor elements and obtain the original url from Google Docs 2014-08-19 17:55:46 -07:00
oracle go.tools/*: replace $GOROOT/src/pkg with $GOROOT/src where appropriate. 2014-09-08 13:24:38 -04:00
present go.tools/cmd/present: track page views for every slide. 2014-08-05 16:02:39 -07:00
ssadump go.tools/cmd/ssadump: print packages and functions to stdout, not stderr. 2014-08-01 14:44:37 -04:00
stringer go.tools/cmd/stringer: fix docs: stringer is not a "go tool" 2014-09-09 13:29:38 -07:00
vet go.tools/*: replace $GOROOT/src/pkg with $GOROOT/src where appropriate. 2014-09-08 13:24:38 -04:00