1
0
mirror of https://github.com/golang/go synced 2024-11-21 17:44:40 -07:00

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
This commit is contained in:
Scott Lawrence 2010-08-30 09:58:27 +10:00 committed by Andrew Gerrand
parent 64cb9b6f45
commit 76dccbc2ed
5 changed files with 7 additions and 8 deletions

View File

@ -36,11 +36,11 @@ prevent that case:
<pre> <pre>
[hooks] [hooks]
# Prevent "hg pull" if MQ patches are applied. # 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>&amp;1
# Prevent "hg push" if MQ patches are applied. # 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>&amp;1
# Prevent "hg update" if MQ patches are applied. # 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>&amp;1
</pre> </pre>
<h2>Making a change</h2> <h2>Making a change</h2>

View File

@ -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 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. starting point for real Go code than as a regular procedure.
<h2 id="RTEMS Port">RTEMS Port</h2> <h2 id="RTEMS_Port">RTEMS Port</h2>
<p> <p>
The <code>gccgo</code> compiler has been ported to <a href="http://www.rtems.com/" The <code>gccgo</code> compiler has been ported to <a href="http://www.rtems.com/">
<code>RTEMS</code></a>. <code>RTEMS</code> is a real-time executive <code>RTEMS</code></a>. <code>RTEMS</code> is a real-time executive
that provides a high performance environment for embedded applications that provides a high performance environment for embedded applications
on a range of processors and embedded hardware. The current <code>gccgo</code> on a range of processors and embedded hardware. The current <code>gccgo</code>

View File

@ -198,7 +198,7 @@ the <code>else</code>, causing a syntax error.
Since semicolons do end statements, you may continue using them as in Since semicolons do end statements, you may continue using them as in
C++. However, that is not the recommended style. Idiomatic Go code C++. However, that is not the recommended style. Idiomatic Go code
omits unnecessary semicolons, which in practice is all of them other omits unnecessary semicolons, which in practice is all of them other
than the initial <for> loop clause and cases where you want several than the initial <code>for</code> loop clause and cases where you want several
short statements on a single line. short statements on a single line.
<p> <p>

View File

@ -293,7 +293,6 @@ to override the defaults.
<code>386</code> (32-bit x86), and <code>386</code> (32-bit x86), and
<code>arm</code> (32-bit ARM, an incomplete port). <code>arm</code> (32-bit ARM, an incomplete port).
The valid combinations of <code>$GOOS</code> and <code>$GOARCH</code> are: The valid combinations of <code>$GOOS</code> and <code>$GOARCH</code> are:
<p>
<table cellpadding="0"> <table cellpadding="0">
<tr> <tr>
<th width="50"><th align="left" width="100"><code>$GOOS</code></th> <th align="left" width="100"><code>$GOARCH</code></th> <th align="left"></th> <th width="50"><th align="left" width="100"><code>$GOOS</code></th> <th align="left" width="100"><code>$GOARCH</code></th> <th align="left"></th>

View File

@ -1,6 +1,6 @@
<!-- The Go Programming Language --> <!-- The Go Programming Language -->
<script> <script type="text/javascript">
// On the frontpage we hide the header and navigation elements that other // On the frontpage we hide the header and navigation elements that other
// pages have. // pages have.
document.getElementById('generatedHeader').style.display = 'none'; document.getElementById('generatedHeader').style.display = 'none';