aboutsummaryrefslogtreecommitdiff
path: root/doc/go_mem.html
diff options
context:
space:
mode:
authorLarry Hosken <lahosken@gmail.com>2009-09-17 08:05:12 -0700
committerLarry Hosken <lahosken@gmail.com>2009-09-17 08:05:12 -0700
commit698c6c00a0bd9499a6ab07e383ba7ba7f2837ad1 (patch)
tree180477f4ed563dc579111d318bdb079333067965 /doc/go_mem.html
parent229e97616324b8623eeb2b30bfdfed6637252b94 (diff)
downloadgo-698c6c00a0bd9499a6ab07e383ba7ba7f2837ad1.tar.gz
go-698c6c00a0bd9499a6ab07e383ba7ba7f2837ad1.zip
A step towards "externalizing" some Go docs.
+ style sheet: like code.google.com but less feature-ful + JS with table-of-contents generation + tweaked go_spec.html and go_mem.html to use new style+JS + static-HTML-ified a few other Go docs: + static HTML versions of some wiki pages (which I'll turn into links to these pages). A notable thing that is _not_ in this changelist: any change to the godoc tool or whatever thing generates http://go/godoc R=r APPROVED=r DELTA=2472 (2307 added, 113 deleted, 52 changed) OCL=34644 CL=34728
Diffstat (limited to 'doc/go_mem.html')
-rw-r--r--doc/go_mem.html63
1 files changed, 62 insertions, 1 deletions
diff --git a/doc/go_mem.html b/doc/go_mem.html
index 5228196d2c..a978c3c77d 100644
--- a/doc/go_mem.html
+++ b/doc/go_mem.html
@@ -1,5 +1,57 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/transitional.dtd">
+<html>
+<head>
-<h1>The Go memory model</h1>
+<!--
+To convert <h2>Foo</h2> into <h2 id="Foo">Foo</h2>
+and convert §Foo into §<a href="#Foo">Foo</a>:
+
+ Edit ,s/<(h.)>(.*)(<\/h.>)/<\1 id="\2">\2\3/g
+ Edit ,x g/id="/ x/id="[^"]+"/ s/ /_/g
+ Edit ,s/§([^),.]+)/§<a href="#\1">\1<\/a>/g
+ Edit ,x/href="#[^"]+"/ s/ /_/g
+-->
+
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <title>The Go Memory Model</title>
+
+ <link rel="stylesheet" type="text/css" href="style.css">
+ <script type="text/javascript" src="godocs.js"></script>
+
+</head>
+
+<body>
+
+<div id="topnav">
+<table summary=""><tr>
+<td id="headerImage">
+<a href="./"><img src="./logo_blue.png" height="44" width="120" alt="Go Home Page" style="border:0" /></a>
+</td>
+<td id="headerDocSetTitle">The Go Progrmming Language</td>
+</tr>
+</table>
+</div>
+
+<div id="linkList">
+
+ <ul>
+ <li class="navhead">Related Guides</li>
+ <li><a href="go_spec.html">Language Specification</a></li>
+ <li class="blank">&nbsp;</li>
+ <li class="navhead">Other Resources</li>
+ <li><a href="./">Go Docs</a></li>
+ </ul>
+</div>
+
+<div id="content">
+
+<h1 id="The_Go_Programming_Language_Specification">The Go Memory Model</h1>
+
+
+ <!-- The Table of Contents is automatically inserted in this <div>.
+ Do not delete this <div>. -->
+ <div id="nav"></div>
<h2>Introduction</h2>
@@ -453,6 +505,15 @@ In all these examples, the solution is the same:
use explicit synchronization.
</p>
+</div>
+
+<div id="footer">
+<p>Except as noted, this content is
+ licensed under <a href="http://creativecommons.org/licenses/by/3.0/">
+ Creative Commons Attribution 3.0</a>.
+</div>
+
+
</body>
</html>