From: Andrew Gerrand Date: Thu, 19 Jan 2012 00:24:54 +0000 (+1100) Subject: godoc: specify HTML page metadata with a JSON blob X-Git-Tag: weekly.2012-01-20~46 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7cb21a79a40250bb989a2dc086ae30a60783afdd;p=gostls13.git godoc: specify HTML page metadata with a JSON blob This allows HTML pages to specify arbitrary data in a header: replacing the old style comments: R=gri, rsc, r, bradfitz, dsymonds CC=golang-dev https://golang.org/cl/5532093 --- diff --git a/doc/articles/defer_panic_recover.html b/doc/articles/defer_panic_recover.html index b78258d1c8..18c0de2d6c 100644 --- a/doc/articles/defer_panic_recover.html +++ b/doc/articles/defer_panic_recover.html @@ -1,4 +1,6 @@ - + + {{donotedit}}

Go has the usual mechanisms for control flow: if, for, switch, goto. It also diff --git a/doc/articles/error_handling.html b/doc/articles/error_handling.html index 89f29983d1..b9393a2cba 100644 --- a/doc/articles/error_handling.html +++ b/doc/articles/error_handling.html @@ -1,4 +1,6 @@ - + + {{donotedit}}

If you have written any Go code you have probably encountered the built-in diff --git a/doc/articles/slices_usage_and_internals.html b/doc/articles/slices_usage_and_internals.html index 66ca4a2b54..c10dfe0cad 100644 --- a/doc/articles/slices_usage_and_internals.html +++ b/doc/articles/slices_usage_and_internals.html @@ -1,4 +1,6 @@ - + + {{donotedit}}

diff --git a/doc/code.html b/doc/code.html index 4737a38fd8..76d25e13ae 100644 --- a/doc/code.html +++ b/doc/code.html @@ -1,4 +1,6 @@ - +

Introduction

diff --git a/doc/codereview_with_mq.html b/doc/codereview_with_mq.html index 33f415f139..38ecbda6e7 100644 --- a/doc/codereview_with_mq.html +++ b/doc/codereview_with_mq.html @@ -1,4 +1,6 @@ - +

Introduction

diff --git a/doc/community.html b/doc/community.html index c3b16cacbc..aee731e3c0 100644 --- a/doc/community.html +++ b/doc/community.html @@ -1,4 +1,6 @@ - +
diff --git a/doc/contrib.html b/doc/contrib.html index 5e00345c8e..3ef7d5695a 100644 --- a/doc/contrib.html +++ b/doc/contrib.html @@ -1,4 +1,6 @@ - +
diff --git a/doc/contribute.html b/doc/contribute.html index a5beb54f9b..5af9af48e5 100644 --- a/doc/contribute.html +++ b/doc/contribute.html @@ -1,4 +1,6 @@ - +

Introduction

diff --git a/doc/debugging_with_gdb.html b/doc/debugging_with_gdb.html index 874c468345..d5c1a884c0 100644 --- a/doc/debugging_with_gdb.html +++ b/doc/debugging_with_gdb.html @@ -1,4 +1,6 @@ - +

This applies to the 6g toolchain. Gccgo has native gdb support. Besides this 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 @@ - +

diff --git a/doc/effective_go.html b/doc/effective_go.html index 3c16e10c3a..4ecbe19b9f 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -1,4 +1,6 @@ - + + {{donotedit}}

Introduction

diff --git a/doc/gccgo_contribute.html b/doc/gccgo_contribute.html index 8eeb3a5c5c..b641c1abb5 100644 --- a/doc/gccgo_contribute.html +++ b/doc/gccgo_contribute.html @@ -1,4 +1,6 @@ - +

Introduction

diff --git a/doc/gccgo_install.html b/doc/gccgo_install.html index 38a30e9c62..1aaf64e54e 100644 --- a/doc/gccgo_install.html +++ b/doc/gccgo_install.html @@ -1,4 +1,6 @@ - +

This document explains how to use gccgo, a compiler for diff --git a/doc/go1.html b/doc/go1.html index 4b985071ef..f116ee209a 100644 --- a/doc/go1.html +++ b/doc/go1.html @@ -1,4 +1,6 @@ - + + {{donotedit}}

Introduction to Go 1

diff --git a/doc/go_faq.html b/doc/go_faq.html index e68b4e2855..6a8199fd94 100644 --- a/doc/go_faq.html +++ b/doc/go_faq.html @@ -1,4 +1,6 @@ - +

Origins

diff --git a/doc/go_for_cpp_programmers.html b/doc/go_for_cpp_programmers.html index 7168f1d057..7edb88013f 100644 --- a/doc/go_for_cpp_programmers.html +++ b/doc/go_for_cpp_programmers.html @@ -1,4 +1,6 @@ - +

Go is a systems programming language intended to be a general-purpose 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 @@ - - +