1
0
mirror of https://github.com/golang/go synced 2024-10-01 11:18:32 -06:00
go/godoc
Brad Fitzpatrick 766a70612a godoc: add a Corpus hook to summarize a package
This lets godoc implementations provide a more efficient means
of getting this information, without reading files and parsing the
package docs.

This is especially important when the files themselves don't
actually exist and the VFS is synthesizing them on demand
(e.g. protocol buffer files -> their generated *.pb.go files).
This means corpus.Init can run quickly, without generating
every protocol file in a large corpus (or fetching it from a
cache).

In the future, this hook could also be used for caching the summaries of
regular packages.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/19440043
2013-10-30 11:34:32 -07:00
..
redirect go.tools/godoc/redirect: remove redundant redirect rules 2013-10-04 09:49:25 +10:00
static go.tools/godoc/static: use preferred JS for Google+ buttons 2013-10-30 13:13:42 +11:00
util all: be more idiomatic when documenting boolean return values. 2013-07-23 10:37:43 +10:00
vfs cmd/godoc: bake templates and scripts into godoc binary 2013-08-16 11:44:27 +10:00
corpus.go godoc: add a Corpus hook to summarize a package 2013-10-30 11:34:32 -07:00
dirtrees.go godoc: add a Corpus hook to summarize a package 2013-10-30 11:34:32 -07:00
format.go go.tools/godoc: Fix jump-to-line in source view. 2013-08-01 11:52:25 +10:00
godoc.go godoc: remove the last of the global variables, unexport Server 2013-07-19 10:27:53 +10:00
index.go godoc: remove the last of the global variables, unexport Server 2013-07-19 10:27:53 +10:00
linkify.go godoc: remove the last of the global variables, unexport Server 2013-07-19 10:27:53 +10:00
meta.go godoc: remove more global variables 2013-07-18 13:14:09 +10:00
page.go godoc: more cleanup 2013-07-18 13:51:17 +10:00
parser.go godoc: remove more global variables 2013-07-18 13:14:09 +10:00
pres.go godoc: move search from cmd to the package 2013-07-19 14:02:03 +10:00
search.go godoc: move search from cmd to the package 2013-07-19 14:02:03 +10:00
server.go go.tools/cmd/godoc: don't list factory functions under types in builtin package 2013-08-28 09:39:02 +10:00
snippet.go godoc: remove more global variables 2013-07-18 13:14:09 +10:00
spec.go godoc: move bulk of the code to the package 2013-07-17 17:09:54 +10:00
spot.go godoc: actually include files from previous CL 2013-07-17 17:17:12 +10:00
tab.go godoc: remove more global variables 2013-07-18 13:14:09 +10:00
template.go godoc: remove more global variables 2013-07-18 13:14:09 +10:00