• 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
..
codelab/wiki Loading commit data...
codewalk Loading commit data...
devel Loading commit data...
gopher Loading commit data...
play Loading commit data...
progs Loading commit data...
talks Loading commit data...
ExpressivenessOfGo.pdf Loading commit data...
GoCourseDay1.pdf Loading commit data...
GoCourseDay2.pdf Loading commit data...
GoCourseDay3.pdf Loading commit data...
Makefile Loading commit data...
all.css Loading commit data...
button_background.png Loading commit data...
code.html Loading commit data...
codereview_with_mq.html Loading commit data...
community.html Loading commit data...
contrib.html Loading commit data...
contribute.html Loading commit data...
debugging_with_gdb.html Loading commit data...
docs.html Loading commit data...
effective_go.html Loading commit data...
effective_go.tmpl Loading commit data...
frontpage.css Loading commit data...
gccgo_contribute.html Loading commit data...
gccgo_install.html Loading commit data...
go-logo-black.png Loading commit data...
go-logo-blue.png Loading commit data...
go-logo-white.png Loading commit data...
go_faq.html Loading commit data...
go_for_cpp_programmers.html Loading commit data...
go_mem.html Loading commit data...
go_spec.html Loading commit data...
go_tutorial.html Loading commit data...
go_tutorial.tmpl Loading commit data...
godocs.js Loading commit data...
ie.css Loading commit data...
install.html Loading commit data...
logo-153x55.png Loading commit data...
logo.png Loading commit data...
makehtml Loading commit data...
play_overlay.png Loading commit data...
playground.html Loading commit data...
popups.js Loading commit data...
root.html Loading commit data...
sieve.gif Loading commit data...
tmpltohtml.go Loading commit data...
video-001.png Loading commit data...
video-002.png Loading commit data...
video-003.png Loading commit data...
video-004.png Loading commit data...
video-005.jpg Loading commit data...