diff options
author | Robert Griesemer <gri@golang.org> | 2009-10-01 14:08:00 -0700 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2009-10-01 14:08:00 -0700 |
commit | 53440da835783963867652cfbfcfc85534d84d71 (patch) | |
tree | d788feee5c1fcfcf09d0ae99aef491b1270b5c04 /doc/go_mem.html | |
parent | 57f834aeffe220909cb4033c9c5f6ee962f6286d (diff) | |
download | go-53440da835783963867652cfbfcfc85534d84d71.tar.gz go-53440da835783963867652cfbfcfc85534d84d71.zip |
Factored out boilerplate from all html docs in doc directory:
- the first HTML comment in those files is extracted as page
title when serving them
- lib/godoc.html is top-level template for all pages served
- experimented a bit with package documentation layout
(feedback welcome)
- various related cleanups
TODO:
- The / page (doc/root.html) content repeats links that are
in the navigation bar. It needs to be cleaned up.
R=rsc
DELTA=826 (86 added, 692 deleted, 48 changed)
OCL=35230
CL=35245
Diffstat (limited to 'doc/go_mem.html')
-rw-r--r-- | doc/go_mem.html | 62 |
1 files changed, 1 insertions, 61 deletions
diff --git a/doc/go_mem.html b/doc/go_mem.html index 9239e98713..d2167a66a3 100644 --- a/doc/go_mem.html +++ b/doc/go_mem.html @@ -1,64 +1,4 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" - "http://www.w3.org/TR/html4/transitional.dtd"> -<html> -<head> - -<!-- -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 Programming 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><a href="go_mem.html">Memory Model</a></li> - <li><a href="go_tutorial.html">Tutorial</a></li> - <li><a href="effective_go.html">Effective Go</a></li> - <li class="blank"> </li> - <li class="navhead">Other Resources</li> - <li><a href="go_faq.html">FAQ</a></li> - <li><a href="go_lang_faq.html">Language Design FAQ</a></li> - <li><a href="go_for_cpp_programmers.html">Go for C++ Programmers</a></li> - <li class="blank"> </li> - <li class="navhead">Home</li> - <li><a href="/">Go documentation home</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> +<!-- The Go Memory Model --> <h2>Introduction</h2> |