From 4fa83edf0693099becc97df926ee05eb83d08a47 Mon Sep 17 00:00:00 2001
From: Andrew Gerrand
-
-{{range .}}
-
diff --git a/lib/godoc/dirlist.html b/lib/godoc/dirlist.html
deleted file mode 100644
index a3e1a2fa88..0000000000
--- a/lib/godoc/dirlist.html
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
- {{$name_html := html .Name}}
-
-{{end}}
-{{$name_html}}
-
- {{html .Title}}
-
-
-
-
-File
-
- Bytes
-
- Modified
-
-
-{{range .}}
-..
-
- {{$name_html := fileInfoName . | html}}
-
-{{end}}
-
-{{$name_html}}
-
- {{html .Size}}
-
- {{fileInfoTime . | html}}
-
-{{html .}} -
diff --git a/lib/godoc/example.html b/lib/godoc/example.html deleted file mode 100644 index cda2a8491e..0000000000 --- a/lib/godoc/example.html +++ /dev/null @@ -1,28 +0,0 @@ -▹ Example{{example_suffix .Name}}
-{{node_html $ .Decl true}}- {{comment_html .Doc}} - {{end}} - {{end}} - {{with .Vars}} -
{{node_html $ .Decl true}}- {{comment_html .Doc}} - {{end}} - {{end}} - {{range .Funcs}} - {{/* Name is a string - no need for FSet */}} - {{$name_html := html .Name}} -
{{node_html $ .Decl true}}- {{comment_html .Doc}} - {{example_html $ .Name}} - {{end}} - {{range .Types}} - {{$tname := .Name}} - {{$tname_html := html .Name}} -
{{node_html $ .Decl true}}- {{comment_html .Doc}} - - {{range .Consts}} -
{{node_html $ .Decl true}}- {{comment_html .Doc}} - {{end}} - - {{range .Vars}} -
{{node_html $ .Decl true}}- {{comment_html .Doc}} - {{end}} - - {{example_html $ $tname}} - - {{range .Funcs}} - {{$name_html := html .Name}} -
{{node_html $ .Decl true}}- {{comment_html .Doc}} - {{example_html $ .Name}} - {{end}} - - {{range .Methods}} - {{$name_html := html .Name}} -
{{node_html $ .Decl true}}- {{comment_html .Doc}} - {{$name := printf "%s_%s" $tname .Name}} - {{example_html $ $name}} - {{end}} - {{end}} - {{end}} - - {{with $.Notes}} - {{range $marker, $content := .}} -
{{node_html $ . false}}-{{end}} - -{{with .Dirs}} - {{/* DirList entries are numbers and strings - no need for FSet */}} - {{if $.PDoc}} -
Name | -- | Synopsis | -
---|---|---|
.. | -||
{{html .Path}} | -- | {{html .Synopsis}} | -
{{repeat ` ` .Depth}}{{html .Name}} | -- | {{html .Synopsis}} | -
Need more packages? Take a look at the Go Projects wiki page.
- {{end}} -{{end}} diff --git a/lib/godoc/package.txt b/lib/godoc/package.txt deleted file mode 100644 index d191621c00..0000000000 --- a/lib/godoc/package.txt +++ /dev/null @@ -1,80 +0,0 @@ -{{with .PAst}}{{node $ .}}{{end}}{{/* - ---------------------------------------- - -*/}}{{with .PDoc}}{{if $.IsMain}}COMMAND DOCUMENTATION - -{{comment_text .Doc " " "\t"}} -{{else}}PACKAGE DOCUMENTATION - -package {{.Name}} - import "{{.ImportPath}}" - -{{comment_text .Doc " " "\t"}} -{{example_text $ "" " "}}{{/* - ---------------------------------------- - -*/}}{{with .Consts}} -CONSTANTS - -{{range .}}{{node $ .Decl}} -{{comment_text .Doc " " "\t"}} -{{end}}{{end}}{{/* - ---------------------------------------- - -*/}}{{with .Vars}} -VARIABLES - -{{range .}}{{node $ .Decl}} -{{comment_text .Doc " " "\t"}} -{{end}}{{end}}{{/* - ---------------------------------------- - -*/}}{{with .Funcs}} -FUNCTIONS - -{{range .}}{{node $ .Decl}} -{{comment_text .Doc " " "\t"}} -{{example_text $ .Name " "}}{{end}}{{end}}{{/* - ---------------------------------------- - -*/}}{{with .Types}} -TYPES - -{{range .}}{{$tname := .Name}}{{node $ .Decl}} -{{comment_text .Doc " " "\t"}} -{{range .Consts}}{{node $ .Decl}} -{{comment_text .Doc " " "\t"}} -{{end}}{{range .Vars}}{{node $ .Decl}} -{{comment_text .Doc " " "\t"}} -{{end}}{{example_text $ .Name " "}} -{{range .Funcs}}{{node $ .Decl}} -{{comment_text .Doc " " "\t"}} -{{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}}{{/* - ---------------------------------------- - -*/}}{{with $.Notes}} -{{range $marker, $content := .}} -{{$marker}}S - -{{range $content}}{{comment_text .Body " " "\t"}} -{{end}}{{end}}{{end}}{{end}}{{/* - ---------------------------------------- - -*/}}{{with .Dirs}} -SUBDIRECTORIES -{{if $.DirFlat}}{{range .List}}{{if .HasPkg}} - {{.Path}}{{end}}{{end}} -{{else}}{{range .List}} - {{repeat `. ` .Depth}}{{.Name}}{{end}} -{{end}}{{end}} diff --git a/lib/godoc/search.html b/lib/godoc/search.html deleted file mode 100644 index 5b54d71267..0000000000 --- a/lib/godoc/search.html +++ /dev/null @@ -1,109 +0,0 @@ - -{{$query_url := urlquery .Query}} -{{with .Alert}} -- {{html .}} -
-{{end}} -{{with .Alt}} -- Did you mean: - {{range .Alts}} - {{html .}} - {{end}} -
-{{end}} -{{with .Pak}} --
{{$pkg_html}} |
- | {{index . 0 | infoKind_html}} | -- | - {{range .}} - {{infoLine .}} - {{end}} - | -
---|
- Not all files or lines containing "{{html $.Query}}" are shown. -
- {{end}} --
- {{$src_html}}: - | -- | {{len .Lines}} | -- | - {{range .Lines}} - {{html .}} - {{end}} - {{if not $.Complete}} - ... - {{end}} - | -
---|---|---|---|---|
... |
- {{end}} - {{.XML}} -