diff options
| author | Russ Cox <rsc@golang.org> | 2023-12-07 13:07:31 -0500 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-12-08 03:23:52 +0000 |
| commit | 0a7f3785817805ba0861a5d107ffb23bd2c1ebea (patch) | |
| tree | edf3e75a7ab5972b0454e840c5cf5420e850e023 /_content/doc/tutorial | |
| parent | f74533cb3d222cb0987af4771426c45b6a8874d6 (diff) | |
| download | go-x-website-0a7f3785817805ba0861a5d107ffb23bd2c1ebea.tar.xz | |
cmd/golangorg: check for invalid or broken links in served HTML
Test that links are to /foo not https://go.dev/foo
and also check that the links actually point at real pages.
Manually fix problems that the test found.
For golang/go#37047.
Change-Id: I825eec3c2cadb9d259caff51cd893f3023ab533a
Reviewed-on: https://go-review.googlesource.com/c/website/+/548059
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to '_content/doc/tutorial')
| -rw-r--r-- | _content/doc/tutorial/generics.md | 2 | ||||
| -rw-r--r-- | _content/doc/tutorial/govulncheck.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/_content/doc/tutorial/generics.md b/_content/doc/tutorial/generics.md index 51dd45d5..0d61fe90 100644 --- a/_content/doc/tutorial/generics.md +++ b/_content/doc/tutorial/generics.md @@ -429,7 +429,7 @@ Nicely done! You've just introduced yourself to generics in Go. Suggested next topics: -* The [Go Tour](https://tour.golang.org/welcome/1) is a great step-by-step +* The [Go Tour](/tour/) is a great step-by-step introduction to Go fundamentals. * You'll find useful Go best practices described in [Effective Go](/doc/effective_go) and diff --git a/_content/doc/tutorial/govulncheck.md b/_content/doc/tutorial/govulncheck.md index e329c6ae..8da65060 100644 --- a/_content/doc/tutorial/govulncheck.md +++ b/_content/doc/tutorial/govulncheck.md @@ -37,7 +37,7 @@ The tutorial will take you through the following steps: ## Create a sample Go module with a vulnerable dependency **Step 1.** To begin, create a new folder called `vuln-tutorial` and initialize a Go module. -(If you are new to Go modules, check out https://go.dev/doc/tutorial/create-module). +(If you are new to Go modules, check out [go.dev/doc/tutorial/create-module](/doc/tutorial/create-module). For example, from your home directory, run the following: |
