From 062a86b07d590c0aa711c83c0e7cb875d3552b37 Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Wed, 3 Apr 2013 15:59:17 +1100 Subject: [PATCH] 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 --- doc/install.html | 54 ++++++++++++++++++------------------------------ doc/style.css | 3 +++ 2 files changed, 23 insertions(+), 34 deletions(-) diff --git a/doc/install.html b/doc/install.html index 03b13c01877991..f2e21b4416f9ea 100644 --- a/doc/install.html +++ b/doc/install.html @@ -3,25 +3,34 @@ "Path": "/doc/install" }--> -

Introduction

+

Download the Go distribution

-Go is an open source project with a BSD-style license. -There are two official Go compiler toolchains: the gc Go compiler -and the gccgo compiler that is part of the GNU C Compiler (GCC). + +Download Go +Click here to visit the downloads page +

-The gc compiler is the more mature and well-tested of the two. -This page is about installing a binary distribution of the gc -compiler. +Click the link above to visit the +Go project's downloads page +and select the binary distribution that matches your operating system and +processor architecture.

-For information about installing the gc compiler from source, see -Installing Go from source. -For information about installing gccgo, see -Setting up and using gccgo. +Official binary distributions are available for the FreeBSD, Linux, Mac OS X +(Snow Leopard, Lion, and Mountain Lion), NetBSD, and Windows operating systems +and the 32-bit (386) and 64-bit (amd64) x86 processor +architectures. +

+ +

+If a binary distribution is not available for your combination of operating +system and architecture you may want to try +installing from source or +installing gccgo instead of gc.

System requirements

@@ -56,29 +65,6 @@

System requirements

Downloads preferences panel.

-

Download the Go tools

- -

-Visit the -Go project's downloads page -and select the binary distribution that matches -your operating system and processor architecture. -

- -

-Official binary distributions are available -for the FreeBSD, Linux, Mac OS X (Snow Leopard/Lion), NetBSD, and Windows operating systems -and the 32-bit (386) and 64-bit (amd64) -x86 processor architectures. -

- -

-If a binary distribution is not available for your -OS/arch combination you may want to try -installing from source or -installing gccgo instead of gc. -

-

Install the Go tools

diff --git a/doc/style.css b/doc/style.css index 6ab9afbdea6f7b..5c8e17a298ef9d 100644 --- a/doc/style.css +++ b/doc/style.css @@ -198,6 +198,9 @@ div#blog .read a { border: 1px solid #375EAB; background: #E0EBF5; } +.download { + width: 150px; +} div#menu { float: right;