diff options
| author | Russ Cox <rsc@golang.org> | 2021-11-17 22:34:23 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2021-11-22 16:42:44 +0000 |
| commit | ab4f479b5c490d82ff2351f37f4e454da26483b1 (patch) | |
| tree | 59edcafd2ecc3bb50874abaa83f63f4bda3b0cda /_content/doc/modules | |
| parent | 7c7e6d209d9c0de0848e95a3d1a3077e078fc29f (diff) | |
| download | go-x-website-ab4f479b5c490d82ff2351f37f4e454da26483b1.tar.xz | |
all: make golang.org and go.dev links relative
Now that there is one site, update all golang.org links to go.dev.
But for any links being served from go.dev, make host-relative,
so that when serving golang.google.cn, we stay on that host as
much as possible.
Change-Id: Id6e1303059b5522846a64202bc1a8b81dc3854cd
Reviewed-on: https://go-review.googlesource.com/c/website/+/365095
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Diffstat (limited to '_content/doc/modules')
| -rw-r--r-- | _content/doc/modules/managing-dependencies.md | 2 | ||||
| -rw-r--r-- | _content/doc/modules/publishing.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/_content/doc/modules/managing-dependencies.md b/_content/doc/modules/managing-dependencies.md index 7f38188c..9b289999 100644 --- a/_content/doc/modules/managing-dependencies.md +++ b/_content/doc/modules/managing-dependencies.md @@ -501,7 +501,7 @@ GOPROXY="https://proxy.golang.org,direct" For more about the `GOPROXY` environment variable, including values to support other behavior, see the [`go` command -reference](https://golang.org/cmd/go/#hdr-Module_downloading_and_verification). +reference](/cmd/go/#hdr-Module_downloading_and_verification). You can set the variable to URLs for other module proxy servers, separating URLs with either a comma or a pipe. diff --git a/_content/doc/modules/publishing.md b/_content/doc/modules/publishing.md index 29b13df8..33044341 100644 --- a/_content/doc/modules/publishing.md +++ b/_content/doc/modules/publishing.md @@ -61,7 +61,7 @@ Use the following steps to publish a module. ``` 1. Make the module available by running the [`go list` - command](https://golang.org/cmd/go/#hdr-List_packages_or_modules) to prompt + command](/cmd/go/#hdr-List_packages_or_modules) to prompt Go to update its index of modules with information about the module you're publishing. |
