1
0
mirror of https://github.com/golang/go synced 2024-11-05 11:46: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:
Russ Cox 2013-10-02 22:08:24 -04:00
parent b9b3bed16e
commit 1d95d02fef

View File

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