From 4fa83edf0693099becc97df926ee05eb83d08a47 Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Thu, 1 Aug 2013 11:21:17 +1000 Subject: cmd/godoc: delete from core repository The godoc command now lives at code.google.com/p/go.tools/cmd/godoc. R=golang-dev, r CC=golang-dev https://golang.org/cl/12206044 --- lib/godoc/codewalk.html | 56 ----------- lib/godoc/codewalkdir.html | 16 ---- lib/godoc/dirlist.html | 31 ------- lib/godoc/error.html | 9 -- lib/godoc/example.html | 28 ------ lib/godoc/godoc.html | 94 ------------------- lib/godoc/opensearch.xml | 11 --- lib/godoc/package.html | 226 --------------------------------------------- lib/godoc/package.txt | 80 ---------------- lib/godoc/search.html | 109 ---------------------- lib/godoc/search.txt | 47 ---------- 11 files changed, 707 deletions(-) delete mode 100644 lib/godoc/codewalk.html delete mode 100644 lib/godoc/codewalkdir.html delete mode 100644 lib/godoc/dirlist.html delete mode 100644 lib/godoc/error.html delete mode 100644 lib/godoc/example.html delete mode 100644 lib/godoc/godoc.html delete mode 100644 lib/godoc/opensearch.xml delete mode 100644 lib/godoc/package.html delete mode 100644 lib/godoc/package.txt delete mode 100644 lib/godoc/search.html delete mode 100644 lib/godoc/search.txt (limited to 'lib') diff --git a/lib/godoc/codewalk.html b/lib/godoc/codewalk.html deleted file mode 100644 index 313f1f6631..0000000000 --- a/lib/godoc/codewalk.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - -
-
-
-
-
- - Pop Out Code - - -
-
- -
-
-
- code on leftright - code width 70% - filepaths shownhidden -
-
-
-
- {{range .Step}} -
- -
{{html .Title}}
-
- {{with .Err}} - ERROR LOADING FILE: {{html .}}

- {{end}} - {{.XML}} -
-
{{html .}}
-
- {{end}} -
-
- previous step - • - next step -
-
-
diff --git a/lib/godoc/codewalkdir.html b/lib/godoc/codewalkdir.html deleted file mode 100644 index b7674c6ce9..0000000000 --- a/lib/godoc/codewalkdir.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -{{range .}} - - {{$name_html := html .Name}} - - - - -{{end}} -
{{$name_html}} {{html .Title}}
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 @@ - - -

- - - - - - - - - - - -{{range .}} - - {{$name_html := fileInfoName . | html}} - - - - - - -{{end}} - -
File Bytes Modified
..
{{$name_html}}{{html .Size}}{{fileInfoTime . | html}}
-

diff --git a/lib/godoc/error.html b/lib/godoc/error.html deleted file mode 100644 index 7573aa2367..0000000000 --- a/lib/godoc/error.html +++ /dev/null @@ -1,9 +0,0 @@ - - -

-{{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}}

- {{with .Doc}}

{{html .}}

{{end}} - {{$output := .Output}} - {{with .Play}} -
-
-
{{html $output}}
-
- Run - Format - -
-
- {{else}} -

Code:

-
{{.Code}}
- {{with .Output}} -

Output:

-
{{html .}}
- {{end}} - {{end}} -
-
diff --git a/lib/godoc/godoc.html b/lib/godoc/godoc.html deleted file mode 100644 index ccf5b6ed6a..0000000000 --- a/lib/godoc/godoc.html +++ /dev/null @@ -1,94 +0,0 @@ - - - - -{{with .Tabtitle}} - {{html .}} - The Go Programming Language -{{else}} - The Go Programming Language -{{end}} - -{{if .SearchBox}} - -{{end}} - - - - -
- -
- - -
- -
- -{{if .Playground}} -
-
-
-
- Run - Format - -
-
-{{end}} - -
-
- -{{with .Title}} -
-

{{html .}}

-{{end}} -{{with .Subtitle}} -

{{html .}}

-{{end}} - -{{/* The Table of Contents is automatically inserted in this
. - Do not delete this
. */}} - - -{{/* Body is HTML-escaped elsewhere */}} -{{printf "%s" .Body}} - - - -
-
- - -{{if .Playground}} - -{{end}} - - - - - diff --git a/lib/godoc/opensearch.xml b/lib/godoc/opensearch.xml deleted file mode 100644 index 1b652db376..0000000000 --- a/lib/godoc/opensearch.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - godoc - The Go Programming Language - go golang - - - /favicon.ico - UTF-8 - UTF-8 - diff --git a/lib/godoc/package.html b/lib/godoc/package.html deleted file mode 100644 index 8d28652fc3..0000000000 --- a/lib/godoc/package.html +++ /dev/null @@ -1,226 +0,0 @@ - - -{{with .PDoc}} - {{if $.IsMain}} - {{/* command documentation */}} - {{comment_html .Doc}} - {{else}} - {{/* package documentation */}} -
-
-
import "{{html .ImportPath}}"
-
-
-
Overview
-
Index
- {{if $.Examples}} -
Examples
- {{end}} - {{if $.Dirs}} -
Subdirectories
- {{end}} -
-
- -
- -
-

Overview ▾

- {{comment_html .Doc}} -
-
- {{example_html $ ""}} - -
- -
-

Index ▾

- - -
-
- {{if .Consts}} -
Constants
- {{end}} - {{if .Vars}} -
Variables
- {{end}} - {{range .Funcs}} - {{$name_html := html .Name}} -
{{node_html $ .Decl false}}
- {{end}} - {{range .Types}} - {{$tname_html := html .Name}} -
type {{$tname_html}}
- {{range .Funcs}} - {{$name_html := html .Name}} -
    {{node_html $ .Decl false}}
- {{end}} - {{range .Methods}} - {{$name_html := html .Name}} -
    {{node_html $ .Decl false}}
- {{end}} - {{end}} - {{if $.Notes}} - {{range $marker, $item := $.Notes}} -
{{noteTitle $marker | html}}s
- {{end}} - {{end}} -
-
- - {{if $.Examples}} -
-

Examples

-
- {{range $.Examples}} -
{{example_name .Name}}
- {{end}} -
-
- {{end}} - - {{with .Filenames}} -

Package files

-

- - {{range .}} - {{.|filename|html}} - {{end}} - -

- {{end}} -
-
- - {{with .Consts}} -

Constants

- {{range .}} -
{{node_html $ .Decl true}}
- {{comment_html .Doc}} - {{end}} - {{end}} - {{with .Vars}} -

Variables

- {{range .}} -
{{node_html $ .Decl true}}
- {{comment_html .Doc}} - {{end}} - {{end}} - {{range .Funcs}} - {{/* Name is a string - no need for FSet */}} - {{$name_html := html .Name}} -

func {{$name_html}}

-
{{node_html $ .Decl true}}
- {{comment_html .Doc}} - {{example_html $ .Name}} - {{end}} - {{range .Types}} - {{$tname := .Name}} - {{$tname_html := html .Name}} -

type {{$tname_html}}

-
{{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}} -

func {{$name_html}}

-
{{node_html $ .Decl true}}
- {{comment_html .Doc}} - {{example_html $ .Name}} - {{end}} - - {{range .Methods}} - {{$name_html := html .Name}} -

func ({{html .Recv}}) {{$name_html}}

-
{{node_html $ .Decl true}}
- {{comment_html .Doc}} - {{$name := printf "%s_%s" $tname .Name}} - {{example_html $ $name}} - {{end}} - {{end}} - {{end}} - - {{with $.Notes}} - {{range $marker, $content := .}} -

{{noteTitle $marker | html}}s

-
    - {{range .}} -
  • {{html .Body}}
  • - {{end}} -
- {{end}} - {{end}} -{{end}} - -{{with .PAst}} -
{{node_html $ . false}}
-{{end}} - -{{with .Dirs}} - {{/* DirList entries are numbers and strings - no need for FSet */}} - {{if $.PDoc}} -

Subdirectories

- {{else}} -
- -
- {{end}} - - - - - - - {{if not $.DirFlat}} - - - - {{end}} - {{range .List}} - {{if $.DirFlat}} - {{if .HasPkg}} - - - - - - {{end}} - {{else}} - - - - - - {{end}} - {{end}} -
Name    Synopsis
..
{{html .Path}}    {{html .Synopsis}}
{{repeat `     ` .Depth}}{{html .Name}}    {{html .Synopsis}}
- {{if $.PDoc}}{{else}} -

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}} -

Package {{html $.Query}}

-

- - {{range .}} - {{$pkg_html := pkgLink .Pak.Path | html}} - - {{end}} -
{{$pkg_html}}
-

-{{end}} -{{with .Hit}} - {{with .Decls}} -

Package-level declarations

- {{range .}} - {{$pkg_html := pkgLink .Pak.Path | html}} -

package {{html .Pak.Name}}

- {{range .Files}} - {{$src_html := srcLink .File.Path | html}} - {{range .Groups}} - {{range .}} - {{$src_html}}:{{infoLine .}} - {{infoSnippet_html .}} - {{end}} - {{end}} - {{end}} - {{end}} - {{end}} - {{with .Others}} -

Local declarations and uses

- {{range .}} - {{$pkg_html := pkgLink .Pak.Path | html}} -

package {{html .Pak.Name}}

- {{range .Files}} - {{$src_html := srcLink .File.Path | html}} - {{$src_html}} - - {{range .Groups}} - - - - - - - {{end}} -
{{index . 0 | infoKind_html}} - {{range .}} - {{infoLine .}} - {{end}} -
- {{end}} - {{end}} - {{end}} -{{end}} -{{with .Textual}} - {{if $.Complete}} -

{{html $.Found}} textual occurrences

- {{else}} -

More than {{html $.Found}} textual occurrences

-

- Not all files or lines containing "{{html $.Query}}" are shown. -

- {{end}} -

- - {{range .}} - {{$src_html := srcLink .Filename | html}} - - - - - - - - {{end}} - {{if not $.Complete}} - - {{end}} -
- {{$src_html}}: - {{len .Lines}} - {{range .Lines}} - {{html .}} - {{end}} - {{if not $.Complete}} - ... - {{end}} -
...
-

-{{end}} diff --git a/lib/godoc/search.txt b/lib/godoc/search.txt deleted file mode 100644 index 5251a388e0..0000000000 --- a/lib/godoc/search.txt +++ /dev/null @@ -1,47 +0,0 @@ -QUERY - {{.Query}} - -{{with .Alert}}{{.}} -{{end}}{{/* .Alert */}}{{/* - ---------------------------------------- - -*/}}{{with .Alt}}DID YOU MEAN - -{{range .Alts}} {{.}} -{{end}} -{{end}}{{/* .Alt */}}{{/* - ---------------------------------------- - -*/}}{{with .Pak}}PACKAGE {{$.Query}} - -{{range .}} {{pkgLink .Pak.Path}} -{{end}} -{{end}}{{/* .Pak */}}{{/* - ---------------------------------------- - -*/}}{{with .Hit}}{{with .Decls}}PACKAGE-LEVEL DECLARATIONS - -{{range .}}package {{.Pak.Name}} -{{range $file := .Files}}{{range .Groups}}{{range .}} {{srcLink $file.File.Path}}:{{infoLine .}}{{end}} -{{end}}{{end}}{{/* .Files */}} -{{end}}{{end}}{{/* .Decls */}}{{/* - ---------------------------------------- - -*/}}{{with .Others}}LOCAL DECLARATIONS AND USES - -{{range .}}package {{.Pak.Name}} -{{range $file := .Files}}{{range .Groups}}{{range .}} {{srcLink $file.File.Path}}:{{infoLine .}} -{{end}}{{end}}{{end}}{{/* .Files */}} -{{end}}{{end}}{{/* .Others */}}{{end}}{{/* .Hit */}}{{/* - ---------------------------------------- - -*/}}{{if .Textual}}{{if .Complete}}{{.Found}} TEXTUAL OCCURRENCES{{else}}MORE THAN {{.Found}} TEXTUAL OCCURRENCES{{end}} - -{{range .Textual}}{{len .Lines}} {{srcLink .Filename}} -{{end}}{{if not .Complete}}... ... -{{end}}{{end}} -- cgit v1.2.1