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/docs.html | |
parent | b71883e9b0eff7e89081d20204bf33f369cdf735 (diff) | |
download | go-git-7cb21a79a40250bb989a2dc086ae30a60783afdd.tar.gz |
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/docs.html')
-rw-r--r-- | doc/docs.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/docs.html b/doc/docs.html index 5a5c8ee131..c0ced98de4 100644 --- a/doc/docs.html +++ b/doc/docs.html @@ -1,4 +1,6 @@ -<!-- title Documentation --> +<!--{ + "Title": "Documentation" +}--> <div class="left-column"> |