CONSTANTS
{{range .}}{{node $ .Decl}}
-{{comment_text .Doc " " "\t"}}{{end}}
-{{end}}{{/*
+{{comment_text .Doc " " "\t"}}
+{{end}}{{end}}{{/*
---------------------------------------
VARIABLES
{{range .}}{{node $ .Decl}}
-{{comment_text .Doc " " "\t"}}{{end}}
-{{end}}{{/*
+{{comment_text .Doc " " "\t"}}
+{{end}}{{end}}{{/*
---------------------------------------
{{range .}}{{node $ .Decl}}
{{comment_text .Doc " " "\t"}}
-{{example_text $ .Name " "}}
-{{end}}{{end}}{{/*
+{{example_text $ .Name " "}}{{end}}{{end}}{{/*
---------------------------------------
{{example_text $ .Name " "}}
{{end}}{{range .Methods}}{{node $ .Decl}}
{{comment_text .Doc " " "\t"}}
-{{$name := printf "%s_%s" $tname .Name}}{{example_text $ $name " "}}
-{{end}}{{end}}{{end}}{{end}}{{/*
+{{$name := printf "%s_%s" $tname .Name}}{{example_text $ $name " "}}{{end}}
+{{end}}{{end}}{{end}}{{/*
---------------------------------------
to the indexer (the indexer will never finish), a value of 1.0
means that index creation is running at full throttle (other
goroutines may get no time while the index is built)
+ -links=true:
+ link identifiers to their declarations
-write_index=false
write index to a file; the file name must be specified with
-index_files
// makes sure that the important files are included and massively reduces the
// number of files to index. The advantage over a blacklist is that unexpected
// (non-blacklisted) files won't suddenly explode the index.
-//
-// TODO(gri): We may want to make this list customizable, perhaps via a flag.
// Files are whitelisted if they have a file name or extension
// present as key in whitelisted.
return true
}
-// TODO(gri): Should have a mapping from extension to handler, eventually.
-
// textExt[x] is true if the extension x indicates a text file, and false otherwise.
var textExt = map[string]bool{
".css": false, // must be served raw