summaryrefslogtreecommitdiff
path: root/doc/docs.html
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2012-01-19 11:24:54 +1100
committerAndrew Gerrand <adg@golang.org>2012-01-19 11:24:54 +1100
commit7cb21a79a40250bb989a2dc086ae30a60783afdd (patch)
treed6d930c0ff1cdc11c080d1c45f0bdbc1f568a874 /doc/docs.html
parentb71883e9b0eff7e89081d20204bf33f369cdf735 (diff)
downloadgo-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.html4
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">