From eaa18cf6078b210a8683fdf7c0533f1908f33d2b Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Tue, 16 Feb 2010 11:20:55 -0800 Subject: godoc support for directories outside $GOROOT Example use: godoc -path=/home/user1:/home/build/foo -http=:6666 will start a local godoc that maps urls starting with /pkg/user1 or /pkg/foo to the respective roots specified in the path. Missing: Handling of overlapping package directories, multiple packages per directory. R=rsc CC=golang-dev http://codereview.appspot.com/206078 --- lib/godoc/package.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/godoc/package.html') diff --git a/lib/godoc/package.html b/lib/godoc/package.html index 6a799c2fd..2113e46bd 100644 --- a/lib/godoc/package.html +++ b/lib/godoc/package.html @@ -16,7 +16,7 @@

Package files

{.repeated section @} - {@|html} + {@|localname} {.end}

@@ -38,14 +38,14 @@ {.end} {.section Funcs} {.repeated section @} -

func {Name|html}

+

func {Name|html}

{Decl|html}

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

type {Type.Name|html}

+

type {Type.Name|html}

{Doc|html-comment}

{Decl|html}

{.repeated section Consts} @@ -57,12 +57,12 @@
{Decl|html}
{.end} {.repeated section Factories} -

func {Name|html}

+

func {Name|html}

{Decl|html}

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

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

+

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

{Decl|html}

{Doc|html-comment} {.end} -- cgit v1.2.3