]> Cypherpunks repositories - gostls13.git/commit
godoc: specify HTML page metadata with a JSON blob
authorAndrew Gerrand <adg@golang.org>
Thu, 19 Jan 2012 00:24:54 +0000 (11:24 +1100)
committerAndrew Gerrand <adg@golang.org>
Thu, 19 Jan 2012 00:24:54 +0000 (11:24 +1100)
commit7cb21a79a40250bb989a2dc086ae30a60783afdd
treed6d930c0ff1cdc11c080d1c45f0bdbc1f568a874
parentb71883e9b0eff7e89081d20204bf33f369cdf735
godoc: specify HTML page metadata with a JSON blob

This allows HTML pages to specify arbitrary data in a header:

<!--{
        "Title": "The page title",
        ...
}-->

replacing the old style comments:

<!-- title The page title -->

R=gri, rsc, r, bradfitz, dsymonds
CC=golang-dev
https://golang.org/cl/5532093
28 files changed:
doc/articles/defer_panic_recover.html
doc/articles/defer_panic_recover.tmpl
doc/articles/error_handling.html
doc/articles/error_handling.tmpl
doc/articles/slices_usage_and_internals.html
doc/articles/slices_usage_and_internals.tmpl
doc/code.html
doc/codereview_with_mq.html
doc/community.html
doc/contrib.html
doc/contribute.html
doc/debugging_with_gdb.html
doc/docs.html
doc/effective_go.html
doc/effective_go.tmpl
doc/gccgo_contribute.html
doc/gccgo_install.html
doc/go1.html
doc/go1.tmpl
doc/go_faq.html
doc/go_for_cpp_programmers.html
doc/go_mem.html
doc/go_spec.html
doc/go_tutorial.html
doc/go_tutorial.tmpl
doc/install.html
doc/playground.html
src/cmd/godoc/godoc.go