aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Amsterdam <jba@google.com>2021-06-14 09:05:11 -0400
committerJonathan Amsterdam <jba@google.com>2021-06-14 15:30:28 +0000
commit220bf30a7a2fa02ddc669ded0e07b87c8a97e0f3 (patch)
treeacc41bf2cca6e44b0894e5b01e319bf812053650
parente9a0475d964498579c13c2847abaded78ad1eb55 (diff)
downloadgo-x-website-220bf30a7a2fa02ddc669ded0e07b87c8a97e0f3.tar.xz
go.dev/_content/about.md: mention blog post on retractions
Change-Id: I6ddea1c76244806439da9990758f15db466a01d4 Reviewed-on: https://go-review.googlesource.com/c/website/+/327750 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
-rw-r--r--go.dev/_content/about.md5
-rw-r--r--go.dev/testdata/golden/about/index.html5
2 files changed, 6 insertions, 4 deletions
diff --git a/go.dev/_content/about.md b/go.dev/_content/about.md
index 2272ebda..09ba209d 100644
--- a/go.dev/_content/about.md
+++ b/go.dev/_content/about.md
@@ -31,8 +31,9 @@ Data for the site is downloaded from [proxy.golang.org](https://proxy.golang.org
If you would like to hide versions of a module on pkg.go.dev, as well as from
the `go` command, you should retract them. Retracting a module version involves
adding a `retract` directive to your `go.mod` file and publishing a new version.
-See the [modules reference](https://golang.org/ref/mod#go-mod-file-retract) for
-details.
+See the Go blog post [New module changes in Go
+1.16](https://blog.golang.org/go116-module-changes#TOC_5.) and the [modules
+reference](https://golang.org/ref/mod#go-mod-file-retract) for details.
## Documentation
diff --git a/go.dev/testdata/golden/about/index.html b/go.dev/testdata/golden/about/index.html
index 7c0f18be..8ad20159 100644
--- a/go.dev/testdata/golden/about/index.html
+++ b/go.dev/testdata/golden/about/index.html
@@ -151,8 +151,9 @@ Go.dev provides:</p>
<p>If you would like to hide versions of a module on pkg.go.dev, as well as from
the <code>go</code> command, you should retract them. Retracting a module version involves
adding a <code>retract</code> directive to your <code>go.mod</code> file and publishing a new version.
-See the <a href="https://golang.org/ref/mod#go-mod-file-retract" rel="noreferrer" target="_blank">modules reference</a> for
-details.</p>
+See the Go blog post <a href="https://blog.golang.org/go116-module-changes#TOC_5." rel="noreferrer" target="_blank">New module changes in Go
+1.16</a> and the <a href="https://golang.org/ref/mod#go-mod-file-retract" rel="noreferrer" target="_blank">modules
+reference</a> for details.</p>
<h2 id="documentation">Documentation</h2>