From be7c0f31c798c0c826e7b92d705a270f2e870ca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Sur=C3=A1nyi?= Date: Sat, 29 Dec 2012 10:41:39 +1100 Subject: [PATCH] doc: fix id attributes in links to godoc CL6449105 changed godoc id attributes to ensure uniqueness. This CL updates links to godoc pages in documents that used the old id attributes. R=golang-dev, dsymonds CC=golang-dev, speter.go1 https://golang.org/cl/7015051 --- doc/articles/godoc_documenting_go_code.html | 2 +- doc/go1.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/articles/godoc_documenting_go_code.html b/doc/articles/godoc_documenting_go_code.html index 36c9b60d05..7bcca5ad41 100644 --- a/doc/articles/godoc_documenting_go_code.html +++ b/doc/articles/godoc_documenting_go_code.html @@ -83,7 +83,7 @@ godoc's output, with one notable exception. Top-level comments that begin with the word "BUG(who)" are recognized as known bugs, and included in the "Bugs" section of the package documentation. The "who" part should be the user name of someone who could provide more information. For example, this is a -known issue from the bytes package: +known issue from the bytes package:

diff --git a/doc/go1.html b/doc/go1.html
index f0a804784a..491fd7bf73 100644
--- a/doc/go1.html
+++ b/doc/go1.html
@@ -1676,7 +1676,7 @@ instead of a Visitor interface value.
 The WalkFunc function will be called even for files or directories that could not be opened;
 in such cases the error argument will describe the failure.
 If a directory's contents are to be skipped,
-the function should return the value filepath.SkipDir
+the function should return the value filepath.SkipDir
 

{{code "/doc/progs/go1.go" `/STARTWALK/` `/ENDWALK/`}} @@ -1865,7 +1865,7 @@ made easier with the new structure of the packages. The imports will be updated by fix tool. Single-template uses will be otherwise be largely unaffected. Code that uses multiple templates in concert will need to be updated by hand. -The examples in +The examples in the documentation for text/template can provide guidance.