• Volker Dobler's avatar
    go/doc: Detect headings in comments and format them as h3 in html. · a6729b30
    Volker Dobler authored
    To structure larger sections of comments in html output headings
    are detected in comments and formated as h3 in the generated html.
    A simple heuristic is used to detect headings in comments:
    A heading is a non-blank, non-indented line preceded by a blank
    line. It is followed by a blank and a non-blank, non-indented line.
    A heading must start with an uppercase letter and end with a letter,
    digit or a colon.  A heading may not contain punctuation characters.
    
    R=jan.mercl, gri, adg, rsc, r
    CC=golang-dev
    https://golang.org/cl/5437056
    a6729b30
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...