aboutsummaryrefslogtreecommitdiff
path: root/_content/doc/code.html
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2021-11-17 22:34:23 -0500
committerRuss Cox <rsc@golang.org>2021-11-22 16:42:44 +0000
commitab4f479b5c490d82ff2351f37f4e454da26483b1 (patch)
tree59edcafd2ecc3bb50874abaa83f63f4bda3b0cda /_content/doc/code.html
parent7c7e6d209d9c0de0848e95a3d1a3077e078fc29f (diff)
downloadgo-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/code.html')
-rw-r--r--_content/doc/code.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/_content/doc/code.html b/_content/doc/code.html
index a6ba8c21..6bd9c186 100644
--- a/_content/doc/code.html
+++ b/_content/doc/code.html
@@ -50,7 +50,7 @@ Each module's path not only serves as an import path prefix for its packages,
but also indicates where the <code>go</code> command should look to download it.
For example, in order to download the module <code>golang.org/x/tools</code>,
the <code>go</code> command would consult the repository indicated by
-<code>https://golang.org/x/tools</code> (described more <a href="https://golang.org/cmd/go/#hdr-Relative_import_paths">here</a>).
+<code>https://golang.org/x/tools</code> (described more <a href="/cmd/go/#hdr-Relative_import_paths">here</a>).
</p>
<p>
@@ -467,5 +467,5 @@ The official mailing list for discussion of the Go language is
<p>
Report bugs using the
-<a href="//golang.org/issue">Go issue tracker</a>.
+<a href="/issue">Go issue tracker</a>.
</p>