|
Archos |
at May 5, 2013 at 3:18 pm
|
⇧ |
| |
But it is incomplete, i.e. wathcing the output "http://golang.org/cmd/go/"
from "http://golang.org/src/cmd/go/doc.go",
how are added the titles such as "Compile packages and dependencies"? I
would say that with 2 blank lines to separate paragraphas. And it could
have other more rule that I've lost.
El domingo, 5 de mayo de 2013 14:31:48 UTC+1, minux escribió:
On Sat, May 4, 2013 at 11:43 PM, Archos <
[email protected] <javascript:>>wrote:
From
http://golang.org/doc/articles/godoc_documenting_go_code.html:There are a few formatting rules that Godoc uses when converting comments
to HTML:
- Subsequent lines of text are considered part of the same paragraph; you
must leave a blank line to separate paragraphs.
- Pre-formatted text must be indented relative to the surrounding comment
text (see gob's doc.go for an example).
- URLs will be converted to HTML links; no special markup is necessary.
Note that none of these rules requires you to do anything out of the
ordinary.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[email protected].
For more options, visit
https://groups.google.com/groups/opt_out.