1
0
mirror of https://github.com/golang/go synced 2024-11-14 06:20:23 -07:00

doc: add prominent download button to getting started page

Also remove the introduction, which says what the rest of the
page says anyway.

Fixes #5182.

R=golang-dev, kamil.kisiel, r
CC=golang-dev
https://golang.org/cl/8281044
This commit is contained in:
Andrew Gerrand 2013-04-03 15:59:17 +11:00
parent 45b54ee7fb
commit 062a86b07d
2 changed files with 23 additions and 34 deletions

View File

@ -3,25 +3,34 @@
"Path": "/doc/install" "Path": "/doc/install"
}--> }-->
<h2 id="introduction">Introduction</h2> <h2 id="download">Download the Go distribution</h2>
<p> <p>
Go is an open source project with a BSD-style license. <a href="http://code.google.com/p/go/downloads" id="start" class="download" target="_blank">
There are two official Go compiler toolchains: the <code>gc</code> Go compiler <span class="big">Download Go</span>
and the <code>gccgo</code> compiler that is part of the GNU C Compiler (GCC). <span class="desc">Click here to visit the downloads page</span>
</a>
</p> </p>
<p> <p>
The <code>gc</code> compiler is the more mature and well-tested of the two. Click the link above to visit the
This page is about installing a binary distribution of the <code>gc</code> <a href="http://code.google.com/p/go/downloads">Go project's downloads page</a>
compiler. and select the binary distribution that matches your operating system and
processor architecture.
</p> </p>
<p> <p>
For information about installing the <code>gc</code> compiler from source, see Official binary distributions are available for the FreeBSD, Linux, Mac OS X
<a href="/doc/install/source">Installing Go from source</a>. (Snow Leopard, Lion, and Mountain Lion), NetBSD, and Windows operating systems
For information about installing <code>gccgo</code>, see and the 32-bit (<code>386</code>) and 64-bit (<code>amd64</code>) x86 processor
<a href="/doc/install/gccgo">Setting up and using gccgo</a>. architectures.
</p>
<p>
If a binary distribution is not available for your combination of operating
system and architecture you may want to try
<a href="/doc/install/source">installing from source</a> or
<a href="/doc/install/gccgo">installing gccgo instead of gc</a>.
</p> </p>
<h2 id="requirements">System requirements</h2> <h2 id="requirements">System requirements</h2>
@ -56,29 +65,6 @@ installed Xcode 4.3+, you can install it from the Components tab of the
Downloads preferences panel. Downloads preferences panel.
</p> </p>
<h2 id="download">Download the Go tools</h2>
<p>
Visit the
<a href="http://code.google.com/p/go/downloads">Go project's downloads page</a>
and select the binary distribution that matches
your operating system and processor architecture.
</p>
<p>
Official binary distributions are available
for the FreeBSD, Linux, Mac OS X (Snow Leopard/Lion), NetBSD, and Windows operating systems
and the 32-bit (<code>386</code>) and 64-bit (<code>amd64</code>)
x86 processor architectures.
</p>
<p>
If a binary distribution is not available for your
OS/arch combination you may want to try
<a href="/doc/install/source">installing from source</a> or
<a href="/doc/install/gccgo">installing gccgo instead of gc</a>.
</p>
<h2 id="install">Install the Go tools</h2> <h2 id="install">Install the Go tools</h2>
<p> <p>

View File

@ -198,6 +198,9 @@ div#blog .read a {
border: 1px solid #375EAB; border: 1px solid #375EAB;
background: #E0EBF5; background: #E0EBF5;
} }
.download {
width: 150px;
}
div#menu { div#menu {
float: right; float: right;