From 3e45412327a2654a77944249962b3652e6142299 Mon Sep 17 00:00:00 2001 From: Ondřej Surý Date: Mon, 17 Jan 2011 12:40:45 +0100 Subject: Imported Upstream version 2011.01.12 --- lib/godoc/godoc.html | 178 ++++++++++++------------------------------------- lib/godoc/package.html | 38 ++++++----- lib/godoc/package.txt | 20 +++--- lib/godoc/search.html | 49 ++++++++++---- lib/godoc/search.txt | 24 ++++--- lib/godoc/source.html | 23 ------- 6 files changed, 126 insertions(+), 206 deletions(-) delete mode 100644 lib/godoc/source.html (limited to 'lib/godoc') diff --git a/lib/godoc/godoc.html b/lib/godoc/godoc.html index aef7f4dc4..f1d9c2ad9 100644 --- a/lib/godoc/godoc.html +++ b/lib/godoc/godoc.html @@ -1,136 +1,45 @@ - + - - - {Title|html-esc} - - - - + +{.section Title} + {@|html-esc} - The Go Programming Language +{.or} + The Go Programming Language +{.end} + + + - - - - -
- - - - - - -
- Go Home Page - -
The Go Programming Language
-
- -
-
- - - -
+
+
+

The Go Programming Language

+ + +
+
{.section Menu} +
+

Build version {Version|html-esc}. Except as noted, this content is licensed under a Creative Commons Attribution 3.0 License.

+
- - - diff --git a/lib/godoc/package.html b/lib/godoc/package.html index 0eff78e45..5dc61b7cd 100644 --- a/lib/godoc/package.html +++ b/lib/godoc/package.html @@ -6,17 +6,19 @@ {.section PAst}
-	{@|html}
+	{@ FSet|html}
 	
{.end} {.section PDoc} {.section IsPkg} + {# ImportPath is a string - no need for FSet}

import "{ImportPath|html-esc}"

{.end} {Doc|html-comment} {.section IsPkg} {.section Filenames} + {# Filenames are strings - no need for FSet}

Package files

@@ -31,44 +33,46 @@

Constants

{.repeated section @} {Doc|html-comment} -
{Decl|html}
+
{Decl FSet|html}
{.end} {.end} {.section Vars}

Variables

{.repeated section @} {Doc|html-comment} -
{Decl|html}
+
{Decl FSet|html}
{.end} {.end} {.section Funcs} {.repeated section @} -

func {Name|html-esc}

-

{Decl|html}

+ {# Name is a string - no need for FSet} +

func {Name|html-esc}

+

{Decl FSet|html}

{Doc|html-comment} {.end} {.end} {.section Types} {.repeated section @} -

type {Type.Name|html-esc}

+ {# Type.Name is a string - no need for FSet} +

type {Type.Name FSet|html-esc}

{Doc|html-comment} -

{Decl|html}

+

{Decl FSet|html}

{.repeated section Consts} {Doc|html-comment} -
{Decl|html}
+
{Decl FSet|html}
{.end} {.repeated section Vars} {Doc|html-comment} -
{Decl|html}
+
{Decl FSet|html}
{.end} {.repeated section Factories} -

func {Name|html-esc}

-

{Decl|html}

+

func {Name|html-esc}

+

{Decl FSet|html}

{Doc|html-comment} {.end} {.repeated section Methods} -

func ({Recv|html}) {Name|html-esc}

-

{Decl|html}

+

func ({Recv FSet|html}) {Name|html-esc}

+

{Decl FSet|html}

{Doc|html-comment} {.end} {.end} @@ -83,12 +87,14 @@ {.section PList}

Other packages

+ {# PLIst entries are strings - no need for FSet} {.repeated section @} - {@|html}
+ {@|html-esc}
{.end}

{.end} {.section Dirs} + {# DirList entries are numbers and strings - no need for FSet}

Subdirectories

@@ -98,12 +104,12 @@ - + {.repeated section List} {Depth|padding} - + diff --git a/lib/godoc/package.txt b/lib/godoc/package.txt index 124771edd..6fe992dbe 100644 --- a/lib/godoc/package.txt +++ b/lib/godoc/package.txt @@ -1,5 +1,5 @@ {.section PAst} -{@} +{@ FSet} {.end} {.section PDoc} {.section IsPkg} @@ -12,14 +12,14 @@ COMMAND DOCUMENTATION {.end} {.section Doc} -{@} +{@ FSet} {.end} {.section Consts} CONSTANTS {.repeated section @} -{Decl} +{Decl FSet} {Doc} {.end} {.end} @@ -28,7 +28,7 @@ CONSTANTS VARIABLES {.repeated section @} -{Decl} +{Decl FSet} {Doc} {.end} {.end} @@ -37,7 +37,7 @@ VARIABLES FUNCTIONS {.repeated section @} -{Decl} +{Decl FSet} {Doc} {.end} {.end} @@ -46,22 +46,22 @@ FUNCTIONS TYPES {.repeated section @} -{Decl} +{Decl FSet} {Doc} {.repeated section Consts} -{Decl} +{Decl FSet} {Doc} {.end} {.repeated section Vars} -{Decl} +{Decl FSet} {Doc} {.end} {.repeated section Factories} -{Decl} +{Decl FSet} {Doc} {.end} {.repeated section Methods} -{Decl} +{Decl FSet} {Doc} {.end} {.end} diff --git a/lib/godoc/search.html b/lib/godoc/search.html index febd7e569..3d3dd1958 100644 --- a/lib/godoc/search.html +++ b/lib/godoc/search.html @@ -4,10 +4,9 @@ license that can be found in the LICENSE file. --> -{.section Accurate} -{.or} +{.section Alert}

- Indexing in progress - result may be inaccurate + {@}

{.end} {.section Alt} @@ -26,8 +25,8 @@ {.repeated section Files} {.repeated section Groups} {.repeated section Infos} - {File.Path|url-src}:{@|infoLine} -
{@|infoSnippet}
+ {File.Path|url-src}:{@|infoLine} + {@|infoSnippet} {.end} {.end} {.end} @@ -38,7 +37,7 @@ {.repeated section @}

package {Pak.Name|html-esc}

{.repeated section Files} - {File.Path|url-src} + {File.Path|url-src}
Synopsis
....
{Name|html-esc}{Name|html-esc} {Synopsis|html-esc}
{.repeated section Groups} @@ -47,7 +46,7 @@ @@ -57,12 +56,36 @@ {.end} {.end} {.end} -{.section Illegal} -

- Illegal query syntax -

+{.section Textual} + {.section Complete} +

{Found|html-esc} textual occurrences

+ {.or} +

More than {Found|html-esc} textual occurrences

+

+ Not all files or lines containing "{Query|html-esc}" are shown. +

+ {.end}

- A legal query is a single identifier (such as ToLower) - or a qualified identifier (such as math.Sin). +

{.repeated section Infos} - {@|infoLine} + {@|infoLine} {.end}
+ {.repeated section @} + + + + + + + + {.end} + {.section Complete} + {.or} + + {.end} +
+ {Filename|url-src}: + {Lines|numlines} + {.repeated section Lines} + {@|html-esc} + {.end} +
...

{.end} diff --git a/lib/godoc/search.txt b/lib/godoc/search.txt index 90266292c..eff4d36fc 100644 --- a/lib/godoc/search.txt +++ b/lib/godoc/search.txt @@ -1,9 +1,8 @@ QUERY -{Query} + {Query} -{.section Accurate} -{.or} -INDEXING IN PROGRESS - RESULT MAY BE INACCURATE +{.section Alert} +{@} {.end} {.section Alt} @@ -45,9 +44,18 @@ package {Pak.Name} {.end} {.end} {.end} -{.section Illegal} -ILLEGAL QUERY SYNTAX +{.section Textual} +{.section Complete} +{Found} TEXTUAL OCCURENCES +{.or} +MORE THAN {Found} TEXTUAL OCCURENCES +{.end} -A legal query is a single identifier (such as ToLower) -or a qualified identifier (such as math.Sin). +{.repeated section @} +{Lines|numlines} {Filename|url-src} +{.end} +{.section Complete} +{.or} +... ... +{.end} {.end} diff --git a/lib/godoc/source.html b/lib/godoc/source.html deleted file mode 100644 index 645517012..000000000 --- a/lib/godoc/source.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - -{# Source is HTML-escaped elsewhere} -
{Source}
-- cgit v1.2.3