_content: fix broken Markdown links to /doc/toolchain
Change-Id: I2256da09dcbc20832c5f6c3eb48a884af8ad604a
GitHub-Last-Rev: fa7f86b3b4
GitHub-Pull-Request: golang/website#228
Reviewed-on: https://go-review.googlesource.com/c/website/+/503235
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
Родитель
781fb19f89
Коммит
a9926fb5ae
|
@ -163,7 +163,7 @@ Before Go 1.21, the directive was advisory only; now it is a mandatory requireme
|
|||
Go toolchains refuse to use modules declaring newer Go versions.
|
||||
|
||||
The `go` directive is an input into selecting which Go toolchain to run.
|
||||
See “[/doc/toolchain](Go toolchains)” for details.
|
||||
See “[Go toolchains](/doc/toolchain)” for details.
|
||||
|
||||
The `go` directive affects use of new language features:
|
||||
|
||||
|
@ -221,7 +221,7 @@ Declares a suggested Go toolchain to use with this module.
|
|||
Only takes effect when the module is the main module
|
||||
and the default toolchain is older than the suggested toolchain.
|
||||
|
||||
For more see “[/doc/toolchain](Go toolchains)” and
|
||||
For more see “[Go toolchains](/doc/toolchain)” and
|
||||
[`toolchain` directive](/ref/mod/#go-mod-file-toolchain) in the
|
||||
Go Modules Reference.
|
||||
|
||||
|
@ -246,7 +246,7 @@ Go Modules Reference.
|
|||
|
||||
### Notes {#toolchain-notes}
|
||||
|
||||
See “[/doc/toolchain](Go toolchains)” for details about how the `toolchain` line
|
||||
See “[Go toolchains](/doc/toolchain)” for details about how the `toolchain` line
|
||||
affects Go toolchain selection.
|
||||
|
||||
## require {#require}
|
||||
|
|
|
@ -542,7 +542,7 @@ Before Go 1.21, the directive was advisory only; now it is a mandatory requireme
|
|||
Go toolchains refuse to use modules declaring newer Go versions.
|
||||
|
||||
The `go` directive is an input into selecting which Go toolchain to run.
|
||||
See “[/doc/toolchain](Go toolchains)” for details.
|
||||
See “[Go toolchains](/doc/toolchain)” for details.
|
||||
|
||||
The `go` directive affects use of new language features:
|
||||
|
||||
|
@ -619,7 +619,7 @@ version is less than the suggested toolchain's version.
|
|||
For reproducibility, the `go` command writes its own toolchain name in a `toolchain` line any time
|
||||
it is updating the `go` version in the `go.mod` file (usually during `go get`).
|
||||
|
||||
For details, see “[/doc/toolchain](Go toolchains)”.
|
||||
For details, see “[Go toolchains](/doc/toolchain)”.
|
||||
|
||||
```
|
||||
ToolchainDirective = "toolchain" ToolchainName newline .
|
||||
|
@ -1238,7 +1238,7 @@ A `toolchain` directive declares a suggested Go toolchain to use in a workspace.
|
|||
It only has an effect when the default toolchain
|
||||
is older than the suggested toolchain.
|
||||
|
||||
For details, see “[/doc/toolchain](Go toolchains)”.
|
||||
For details, see “[Go toolchains](/doc/toolchain)”.
|
||||
|
||||
```
|
||||
ToolchainDirective = "toolchain" ToolchainName newline .
|
||||
|
|
Загрузка…
Ссылка в новой задаче