mirror of
https://github.com/golang/go
synced 2024-11-05 15:56:12 -07:00
go.tools/cmd/godoc: point at doc.ToHTML documentation for formatting rules
Fixes golang/go#5429. R=golang-dev, r CC=golang-dev https://golang.org/cl/14292043
This commit is contained in:
parent
b9b3bed16e
commit
1d95d02fef
@ -128,6 +128,8 @@ one may run godoc as follows:
|
||||
|
||||
godoc -http=:6060 -zip=go.zip -goroot=$HOME/go
|
||||
|
||||
Godoc documentation is converted to HTML or to text using the go/doc package;
|
||||
see http://golang.org/pkg/go/doc/#ToHTML for the exact rules.
|
||||
See "Godoc: documenting Go code" for how to write good comments for godoc:
|
||||
http://golang.org/doc/articles/godoc_documenting_go_code.html
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user