summaryrefslogtreecommitdiff
path: root/src/cmd/godoc/appconfig.go
blob: 052a9ebc8aba8280884bed022d13ea47ff68e0db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// This file contains configuration information used by
// godoc when running on app engine. Adjust as needed
// (typically when the .zip file changes).

package main

const (
	// zipFilename is the name of the .zip file
	// containing the file system served by godoc.
	zipFilename = "godoc.zip"

	// zipGoroot is the path of the goroot directory
	// in the .zip file.
	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.*"
)