1
0
mirror of https://github.com/golang/go synced 2024-09-30 12:08:32 -06:00
go/cmd
Dmitri Shuralyov 688c506a55 cmd/godoc, godoc/static: remove remnants of golang.org website
The canonical home for the golang.org website by now is
the golang.org/x/website/cmd/golangorg command. That is
the command that should be used to run the website locally
instead of godoc.

This change reduces the scope of x/tools/cmd/godoc to be
a minimal Go Documentation Server. It removes the remaining
pieces of the golang.org website and changes the title from
"The Go Programming Language" to "Go Documentation Server".

The web tree is modified as follows:

• The index page has been modified to redirect to /pkg/,
  which serves a list of packages.
• The /doc/ tree is removed.
• The /robots.txt and /opensearch.xml pages are removed, since
  the primary use case for godoc now is a local web server.
• The Google Analytics sections are removed from static templates,
  since it's always an empty value in local web server mode.

Fixes golang/go#32011
Updates golang/go#29206

Change-Id: Id62c5f335fa2059774893ef4dcd268649278e99d
Reviewed-on: https://go-review.googlesource.com/c/tools/+/207777
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Andrew Bonventre <andybons@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-11-20 19:55:55 +00:00
..
auth cmd/auth/cookieauth: add a GOAUTH implementation that reads from a cookiefile 2019-04-05 18:06:40 +00:00
benchcmp cmd/benchcmp: add unit test for formatNs function 2019-11-14 16:00:03 +00:00
bundle cmd/bundle: add -tags flag 2019-11-04 19:56:21 +00:00
callgraph all: skip tests if required tools are not found 2019-08-30 15:40:57 +00:00
compilebench cmd/compilebench: add more linker benchmarking 2019-09-11 14:31:56 +00:00
cover all: do not write to testdata directories 2019-08-30 17:05:20 +00:00
digraph cmd/digraph: omit unnecessary empty lines in focus 2019-11-20 15:59:38 +00:00
eg cmd/eg: Gofmt eg's dry-run output. 2017-07-13 04:09:46 +00:00
fiximports all: fix more typos 2019-09-11 15:13:14 +00:00
getgo cmd/getgo/server: update to go112 GAE runtime 2019-08-22 19:19:35 +00:00
go-contrib-init cmd/go-contrib-init: add unit test for the cmdErr function 2019-11-11 20:03:10 +00:00
godex x/tools: remove old renaming imports of go/constant as exact 2018-08-10 17:04:37 +00:00
godoc cmd/godoc, godoc/static: remove remnants of golang.org website 2019-11-20 19:55:55 +00:00
goimports cmd/goimports: reuse cached state 2019-05-20 21:49:40 +00:00
gomvpkg cmd/gomvpkg: add missing closing double-quote to documentation 2018-05-22 18:16:25 +00:00
gopls internal/lsp: use options hooks to install diff driver 2019-10-11 16:38:31 +00:00
gorename all: skip tests if required tools are not found 2019-08-30 15:40:57 +00:00
gotype gotype: fix default importer for Go 1.8. 2017-04-10 16:28:46 +00:00
goyacc cmd/goyacc: put //line annotations on the first column. 2018-09-26 03:27:08 +00:00
guru all: do not write to testdata directories 2019-08-30 17:05:20 +00:00
html2article x/tools/cmd/html2article: remove unused functions 2017-03-01 14:53:04 +00:00
present cmd/present: fix origin mismatch for websocket when using HTTPS 2019-10-14 20:52:21 +00:00
splitdwarf cmd/splitdwarf: fix skip on Windows 2019-05-25 14:57:41 +00:00
ssadump go/ssa/ssautil: add AllPackages method 2018-10-15 18:41:29 +00:00
stress cmd/stress: prefix logs with start date/time 2018-11-27 19:52:27 +00:00
stringer cmd/stringer: fix package godoc 2019-10-29 19:07:41 +00:00
toolstash cmd/toolstash: don't try comparing "asm -V=full" output. 2017-11-02 22:54:56 +00:00