From 6452bf4a05282f7ad1ae5afcfa74fbd3a0b16bb2 Mon Sep 17 00:00:00 2001 From: Andrew Bonventre Date: Fri, 19 Jan 2018 22:47:23 -0500 Subject: [release-branch.go1.9] doc: change anchor URLs from golang.org/dl/ to /dl/ When running locally, it will redirect properly to golang.org/dl/ (see https://github.com/golang/tools/blob/master/cmd/godoc/dl.go). This is to support domains in prod other than golang.org. Change-Id: I6d3051fcd7e06a86442324a64d781d8ad95c624f Reviewed-on: https://go-review.googlesource.com/88679 Reviewed-by: Brad Fitzpatrick Reviewed-on: https://go-review.googlesource.com/88715 Reviewed-by: Ian Lance Taylor Run-TryBot: Andrew Bonventre TryBot-Result: Gobot Gobot --- doc/go1.html | 8 ++++---- doc/install.html | 14 +++++++------- doc/root.html | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/go1.html b/doc/go1.html index 1665d74e95..34e305b93c 100644 --- a/doc/go1.html +++ b/doc/go1.html @@ -775,7 +775,7 @@ to turn a string into an error. It replaces the old os.NewError.

{{code "/doc/progs/go1.go" `/ErrSyntax/`}} - +

Updating: Running go fix will update almost all code affected by the change. @@ -1827,7 +1827,7 @@ for full details. Uitob(x, b) FormatUint(uint64(x), b) Uitob64(x, b) FormatUint(x, b) - +

Updating: Running go fix will update almost all code affected by the change. @@ -1841,7 +1841,7 @@ a cast that must be added by hand; the go fix tool wil

The template packages

-The template and exp/template/html packages have moved to +The template and exp/template/html packages have moved to text/template and html/template. More significant, the interface to these packages has been simplified. @@ -2035,4 +2035,4 @@ They are available for many combinations of architecture and operating system Installation details are described on the Getting Started page, while the distributions themselves are listed on the -downloads page. +downloads page. diff --git a/doc/install.html b/doc/install.html index 7f32f68cd3..98d215a392 100644 --- a/doc/install.html +++ b/doc/install.html @@ -8,14 +8,14 @@

Download the Go distribution

- + Download Go Click here to visit the downloads page

-Official binary +Official binary distributions are available for the FreeBSD (release 8-STABLE and above), Linux, Mac OS X (10.8 and above), and Windows operating systems and the 32-bit (386) and 64-bit (amd64) x86 processor @@ -33,7 +33,7 @@ system and architecture, try

System requirements

-Go binary distributions are available for these supported operating systems and architectures. +Go binary distributions are available for these supported operating systems and architectures. Please ensure your system meets these requirements before proceeding. If your OS or architecture is not on the list, you may be able to install from source or @@ -77,7 +77,7 @@ first remove the existing version.

Linux, Mac OS X, and FreeBSD tarballs

-Download the archive +Download the archive and extract it into /usr/local, creating a Go tree in /usr/local/go. For example:

@@ -138,7 +138,7 @@ location.

Mac OS X package installer

-Download the package file, +Download the package file, open it, and follow the prompts to install the Go tools. The package installs the Go distribution to /usr/local/go.

@@ -167,7 +167,7 @@ MSI installer that configures your installation automatically.

MSI installer

-Open the MSI file +Open the MSI file and follow the prompts to install the Go tools. By default, the installer puts the Go distribution in c:\Go.

@@ -185,7 +185,7 @@ command prompts for the change to take effect.

Zip archive

-Download the zip file and extract it into the directory of your choice (we suggest c:\Go). +Download the zip file and extract it into the directory of your choice (we suggest c:\Go).

diff --git a/doc/root.html b/doc/root.html index 9bdf927480..a5119a9ff8 100644 --- a/doc/root.html +++ b/doc/root.html @@ -58,7 +58,7 @@ simple, reliable, and efficient software.

- + Download Go Binary distributions available for
-- cgit v1.2.3-54-g00ecf