aboutsummaryrefslogtreecommitdiff
path: root/doc/go_mem.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/go_mem.html
parentb71883e9b0eff7e89081d20204bf33f369cdf735 (diff)
downloadgo-7cb21a79a40250bb989a2dc086ae30a60783afdd.tar.gz
go-7cb21a79a40250bb989a2dc086ae30a60783afdd.zip
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_mem.html')
-rw-r--r--doc/go_mem.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/go_mem.html b/doc/go_mem.html
index 45ee0f53f2..2e341771fb 100644
--- a/doc/go_mem.html
+++ b/doc/go_mem.html
@@ -1,5 +1,7 @@
-<!-- The Go Memory Model -->
-<!-- subtitle Version of June 10, 2011 -->
+<!--{
+ "Title": "The Go Memory Model",
+ "Subtitle": "Version of June 10, 2011"
+}-->
<style>
p.rule {