diff options
| author | Andrew Gerrand <adg@golang.org> | 2012-01-19 11:24:54 +1100 |
|---|---|---|
| committer | Andrew Gerrand <adg@golang.org> | 2012-01-19 11:24:54 +1100 |
| commit | 7cb21a79a40250bb989a2dc086ae30a60783afdd (patch) | |
| tree | d6d930c0ff1cdc11c080d1c45f0bdbc1f568a874 /doc/go_tutorial.html | |
| parent | b71883e9b0eff7e89081d20204bf33f369cdf735 (diff) | |
| download | go-7cb21a79a40250bb989a2dc086ae30a60783afdd.tar.xz | |
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
Diffstat (limited to 'doc/go_tutorial.html')
| -rw-r--r-- | doc/go_tutorial.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/go_tutorial.html b/doc/go_tutorial.html index 071ca1aa9d..eaa989a200 100644 --- a/doc/go_tutorial.html +++ b/doc/go_tutorial.html @@ -1,4 +1,6 @@ -<!-- A Tutorial for the Go Programming Language --> +<!--{ + "Title": "A Tutorial for the Go Programming Language" +}--> <!-- DO NOT EDIT: created by tmpltohtml go_tutorial.tmpl |
