From 76dccbc2ed4134a925218bc6d3261d963f4146e2 Mon Sep 17 00:00:00 2001 From: Scott Lawrence Date: Mon, 30 Aug 2010 09:58:27 +1000 Subject: [PATCH] doc: various changes for validating HTML (Fixes missing tags, extra tags, missing attributes, and such found by tidy -e) R=golang-dev, adg1, adg CC=golang-dev https://golang.org/cl/2039043 --- doc/codereview_with_mq.html | 6 +++--- doc/gccgo_install.html | 4 ++-- doc/go_for_cpp_programmers.html | 2 +- doc/install.html | 1 - doc/root.html | 2 +- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/doc/codereview_with_mq.html b/doc/codereview_with_mq.html index 7b2e0f3bf30..33f415f1398 100644 --- a/doc/codereview_with_mq.html +++ b/doc/codereview_with_mq.html @@ -36,11 +36,11 @@ prevent that case:
 [hooks]
 # Prevent "hg pull" if MQ patches are applied.
-prechangegroup.mq-no-pull = ! hg qtop > /dev/null 2>&1
+prechangegroup.mq-no-pull = ! hg qtop > /dev/null 2>&1
 # Prevent "hg push" if MQ patches are applied.
-preoutgoing.mq-no-push = ! hg qtop > /dev/null 2>&1
+preoutgoing.mq-no-push = ! hg qtop > /dev/null 2>&1
 # Prevent "hg update" if MQ patches are applied.
-preupdate.mq-no-update = ! hg qtop > /dev/null 2>&1
+preupdate.mq-no-update = ! hg qtop > /dev/null 2>&1
 

Making a change

diff --git a/doc/gccgo_install.html b/doc/gccgo_install.html index e4e471b76c4..393e57963b4 100644 --- a/doc/gccgo_install.html +++ b/doc/gccgo_install.html @@ -396,9 +396,9 @@ This procedure is full of unstated caveats and restrictions and we make no guarantee that it will not change in the future. It is more useful as a starting point for real Go code than as a regular procedure. -

RTEMS Port

+

RTEMS Port

-The gccgo compiler has been ported to gccgo compiler has been ported to RTEMS. RTEMS is a real-time executive that provides a high performance environment for embedded applications on a range of processors and embedded hardware. The current gccgo diff --git a/doc/go_for_cpp_programmers.html b/doc/go_for_cpp_programmers.html index a2291715ce7..33e34124212 100644 --- a/doc/go_for_cpp_programmers.html +++ b/doc/go_for_cpp_programmers.html @@ -198,7 +198,7 @@ the else, causing a syntax error. Since semicolons do end statements, you may continue using them as in C++. However, that is not the recommended style. Idiomatic Go code omits unnecessary semicolons, which in practice is all of them other -than the initial loop clause and cases where you want several +than the initial for loop clause and cases where you want several short statements on a single line.

diff --git a/doc/install.html b/doc/install.html index 05771260cd7..25be700d66a 100644 --- a/doc/install.html +++ b/doc/install.html @@ -293,7 +293,6 @@ to override the defaults. 386 (32-bit x86), and arm (32-bit ARM, an incomplete port). The valid combinations of $GOOS and $GOARCH are: -

diff --git a/doc/root.html b/doc/root.html index 168755f4f06..65869183cbc 100644 --- a/doc/root.html +++ b/doc/root.html @@ -1,6 +1,6 @@ -
$GOOS $GOARCH