summaryrefslogtreecommitdiff
path: root/src/cmd/godoc/appconfig.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/godoc/appconfig.go')
-rw-r--r--src/cmd/godoc/appconfig.go15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/cmd/godoc/appconfig.go b/src/cmd/godoc/appconfig.go
index 9cbe7a443..052a9ebc8 100644
--- a/src/cmd/godoc/appconfig.go
+++ b/src/cmd/godoc/appconfig.go
@@ -11,9 +11,20 @@ package main
const (
// zipFilename is the name of the .zip file
// containing the file system served by godoc.
- zipFilename = "go.zip"
+ zipFilename = "godoc.zip"
// zipGoroot is the path of the goroot directory
// in the .zip file.
- zipGoroot = "/home/username/go"
+ zipGoroot = "/home/user/go"
+
+ // If indexFilenames != "", the search index is
+ // initialized with the index stored in these
+ // files (otherwise it will be built at run-time,
+ // eventually). indexFilenames is a glob pattern;
+ // the specified files are concatenated in sorted
+ // order (by filename).
+ // app-engine limit: file sizes must be <= 10MB;
+ // use "split -b8m indexfile index.split." to get
+ // smaller files.
+ indexFilenames = "index.split.*"
)