Граф коммитов

52 Коммитов

Автор SHA1 Сообщение Дата
Sean Liao f3d3bc619f _content/ref: modules, correct statement on recording build metadata
Fixes golang/go#64652

Change-Id: Ie258e109053258e3bf214f75809ce9e26ede3636
Reviewed-on: https://go-review.googlesource.com/c/website/+/553156
Reviewed-by: Michael Matloob <matloob@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
2024-08-28 16:49:33 +00:00
Michael Matloob 27315b9a84 _content/ref: remove potentially confusing statement in go work use doc
A statement in the go work use docs that was meant to clarify that go
work use would clean up use statements where the directories did not
exist ended up causing confusion.

Remove that statement for now. We might want to add something back in
the future.

Fixes golang/go#68245

Change-Id: I74b0ebdf7d11e8e03a4e18f58e49ec02a896c091
Reviewed-on: https://go-review.googlesource.com/c/website/+/595997
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
2024-07-01 19:41:01 +00:00
Michael Matloob 80af5f5f42 ref/mod: add a warning against checking in go.work files
Add a warning against checking in go.work files together with a
sentence about where it might be okay.

Fixes golang/go#53502

Change-Id: I1f643fc75c2951a9dcd56db11d612989dadcaa59
Reviewed-on: https://go-review.googlesource.com/c/website/+/580115
Reviewed-by: Eli Bendersky‎ <eliben@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
Reviewed-by: Sam Thanawalla <samthanawalla@google.com>
2024-06-07 21:46:20 +00:00
Russ Cox 8589d49711 _content/ref/mod: document godebug directive
For golang/go#65573.

Change-Id: Ie6b92586d203dd921d86084da84edc4706143fd8
Reviewed-on: https://go-review.googlesource.com/c/website/+/584218
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Sam Thanawalla <samthanawalla@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
2024-05-15 16:12:29 +00:00
Bryan C. Mills 3e18747147 _content/ref/mod: document dotless module paths
Fixes golang/go#32819
For golang/go#37641

Change-Id: Icbf33337f1b35d47a44ddd7512ce4f7d0f8a0d56
Reviewed-on: https://go-review.googlesource.com/c/website/+/359594
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2024-03-15 21:50:09 +00:00
Michael Matloob 129088f7cd _content/ref/mod: document go.work.sum files
There's no mention of go.work.sum files in ref/mod. Add some
mentioning when they can appear.

Fixes golang/go#51941

Change-Id: I377f6dcd0712ed8b9967469bc223543d784a6bd3
Reviewed-on: https://go-review.googlesource.com/c/website/+/563855
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
2024-02-13 21:34:49 +00:00
Russ Cox 0a7f378581 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>
2023-12-08 03:23:52 +00:00
Russ Cox f74533cb3d _content: replace https://blog.golang.org/ links with /blog/
Global search and replace in HTML for href="https://blog.golang.org/
and in Markdown for ](https://blog.golang.org/

Change-Id: Ife69e89a42a631fa5c8babd07201ed0d7796eb0e
Reviewed-on: https://go-review.googlesource.com/c/website/+/548062
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2023-12-08 03:23:27 +00:00
Russ Cox b1c2f44cb4 _content/ref/mod: fix wording error
The text says "Go release version" but should say "Go version".

Fixes golang/go#62707.

Change-Id: I95f6f95088cd99fdadaa57d301083d484979cdb0
Reviewed-on: https://go-review.googlesource.com/c/website/+/530680
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-09-27 12:52:17 +00:00
Max Riveiro a9926fb5ae _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>
2023-06-15 17:46:36 +00:00
Russ Cox 65471dac0a _content: add https://go.dev/doc/toolchain
This documents the new toolchain selection and switching
for the forward compatibility work.

For golang/go#57001.

Change-Id: I0efdac6771018063446dd0db22013c5fd756bea4
Reviewed-on: https://go-review.googlesource.com/c/website/+/500775
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
2023-06-12 18:08:29 +00:00
Sean Liao c3f7ee19df _content/ref: note "go get" reject -mod flag
Fixes golang/go#44760

Change-Id: I09c7dcf4dc2b7185cfbbbab063d23bcdfbb1119d
Reviewed-on: https://go-review.googlesource.com/c/website/+/475715
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
2023-05-20 17:31:09 +00:00
Sean Liao 9110c24c89 _content/ref: remove go get from build commands
Fixes golang/go#60110

Change-Id: I4513db35a100695801a29c33783061f1b485197d
Reviewed-on: https://go-review.googlesource.com/c/website/+/494235
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
2023-05-11 23:38:24 +00:00
Hana (Hyang-Ah) Kim 381c3ae6b2 _content/ref: mention '-reuse' flag in go mod download section
The section was copied from `go help mod download`.

Change-Id: Icca24cf1cbd4051332df21843ffd2ff818d77d2d
Reviewed-on: https://go-review.googlesource.com/c/website/+/463875
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
2023-01-27 22:38:43 +00:00
Hana (Hyang-Ah) Kim e3727af0b8 _content/ref/mod.md: add more retraction examples
Borrowed from
https://seankhliao.com/blog/12021-10-17-go-mod-retract/

Updates golang/go#55834.

Change-Id: I10883a74f16caad6b62937778b09286cfd2d76d5
Reviewed-on: https://go-review.googlesource.com/c/website/+/443400
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
2022-10-21 16:53:05 +00:00
Sean Liao 37b0060c55 _content/ref: update module fields
Fixes golang/go#51163

Change-Id: If2390fba29786a97f789f99434ea282849264ade
Reviewed-on: https://go-review.googlesource.com/c/website/+/394818
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
2022-10-14 22:08:14 +00:00
Roger Peppe ba3d5cf5ff _content/{ref,doc}: remove -d from go get examples
The `-d` flag to `go get` in module mode is a no-op, as witness
the following comment from the code:

	// TODO(#43684): in the future (Go 1.20), warn that -d is a no-op.
	if !*getD {
		base.Fatalf("go: -d flag may not be disabled")
	}

Thus it's misleading, so remove it.

Change-Id: I0cf61d61b561d010d00f6044a5c07ca8f3bd117f
Reviewed-on: https://go-review.googlesource.com/c/website/+/439695
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-10-06 23:34:32 +00:00
Alberto Bertogli 6438748656 _content/ref: add missing `)` in "go.work files" documentation
Change-Id: I8a1f69214f4738bb4bab49200780d997a2948ce8
Reviewed-on: https://go-review.googlesource.com/c/website/+/431615
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
2022-10-06 14:23:57 +00:00
Sean Liao a45e5bbd5d _content: consistently use main module instead of root module
Fixes golang/go#52227

Change-Id: I9b5211a071eb92a8629d8f97c5f3842ae0ec6b37
Reviewed-on: https://go-review.googlesource.com/c/website/+/421895
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: hopehook <hopehook@qq.com>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: hopehook <hopehook@qq.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
2022-08-26 17:39:38 +00:00
etakahashi b1d076a072 ref: fix typo to GOWORK
Fixes golang/go#53550

Change-Id: I1d354930c9482ab6f85852b900baf09de2472760
Reviewed-on: https://go-review.googlesource.com/c/website/+/414154
Auto-Submit: Carlos Amedee <carlos@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-06-27 15:26:35 +00:00
Hana (Hyang-Ah) Kim 6b9583b283 _content/ref: specify redirect for /ref and /ref/ using /ref/index.md
We want both `/ref` and `/ref/` to point to `/doc/#references` section.
All documents for /ref/* are available from this unified website, so we
can set up a redirect rule using the native redirect support provided by
the internal/web package instead of relying on the internal/redirect rule.

Fixes golang/go#53243

Change-Id: Ibed1aefc82f8b93ae14775efbb456b1571053eda
Reviewed-on: https://go-review.googlesource.com/c/website/+/413914
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
2022-06-24 14:11:52 +00:00
Frederik Zipp 4056b246ea all: fix a lot of typos
Change-Id: I0754d18f4c3c3d5dfa0c34b4bc154a35ac20b917
Reviewed-on: https://go-review.googlesource.com/c/website/+/411794
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
2022-06-15 16:32:49 +00:00
George Looshch f66592d150 _content/doc: fix inconsistent tabs in code snippets
Replace real tabs with 4 spaces in code snippets to make indentation
consistent

Fixes golang/go#52255

Change-Id: Ida06a1dd2c2cd3100c32d6c29febf60aba2e20d7
Reviewed-on: https://go-review.googlesource.com/c/website/+/399374
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2022-05-24 14:51:34 +00:00
matsuyoshi 8ba050679c mod.md: correct some links
Change-Id: Ib0c4611c84c7eca652c6128faa8645be7c9ec9f0
Reviewed-on: https://go-review.googlesource.com/c/website/+/362034
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
2022-05-09 21:33:55 +00:00
Michael Matloob dc08095e2b _content/ref: update the modules reference for GOWORK
The -workfile flag's function has been absorbed by the GOWORK
environment variable. Update the workspaces reference to reflect that.
Also fix an error in the workspaces tutorial.

For golang/go#45713

Change-Id: Id8dc8bb8dc6458d03d7b947ec78d84263d9689e1
Reviewed-on: https://go-review.googlesource.com/c/website/+/393360
Trust: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Beth Brown <ecbrown@google.com>
2022-03-21 18:00:16 +00:00
Dmitri Shuralyov 2a575f4ba7 _content/doc: revert "temporarily add Go language specification documents"
Revert commit 2e3ad7d979 (CL 393115).
By now, the website is using Go content from release-branch.go1.18,
so this temporary mitigation is no longer needed.

Fixes golang/go#51686.

Change-Id: I47e3962cdffd88c708e1c150d9cf4bdcac217b24
Reviewed-on: https://go-review.googlesource.com/c/website/+/393355
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Trust: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2022-03-16 15:34:51 +00:00
Dmitri Shuralyov 2e3ad7d979 _content/doc: temporarily add Go language specification documents
The canonical location for these documents is in the main Go repository
in the doc directory. Due to go.dev/issue/51686, the website is using
Go content from release-branch.go1.17 rather than release-branch.go1.18.

Temporarily add a copy of the spec docs to x/website so it's possible to
view them at go.dev (in addition to tip.golang.org) while that issue is
being resolved.

For golang/go#51686.

Change-Id: Ia6640d6c32af631f562db1294d191f461373b9ee
Reviewed-on: https://go-review.googlesource.com/c/website/+/393115
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Trust: Dmitri Shuralyov <dmitshur@google.com>
2022-03-15 18:35:48 +00:00
Ian Lance Taylor 617d83c5d4 _content/ref/mod: "go 1.16" is the default in go.mod
Fixes golang/go#47662

Change-Id: Ie4d327a48d426ce1cd4a5bd411186143fecf00e1
Reviewed-on: https://go-review.googlesource.com/c/website/+/381895
Reviewed-by: Bryan Mills <bcmills@google.com>
Trust: DO NOT USE <iant@google.com>
2022-02-01 20:14:26 +00:00
Michael Matloob 884feaf4b4 _content/ref: update ref/mod for workspaces
Add entries for go.work files and the new go work commands to
golang.org/ref/mod.

For golang/go#45713

Change-Id: I1ad3335f977fad864d75790e31e48ee34e531ff5
Reviewed-on: https://go-review.googlesource.com/c/website/+/379655
Reviewed-by: Bryan Mills <bcmills@google.com>
Trust: Michael Matloob <michaelmatloob@gmail.com>
2022-02-01 17:07:52 +00:00
Russ Cox 40c0eef097 go.dev: merge go.dev/_content into root _content
Many renames. And then adjust references.

Change-Id: I4d03c76dbc0bf4d070208d568861ee820904c0dc
Reviewed-on: https://go-review.googlesource.com/c/website/+/365097
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2021-11-22 16:42:59 +00:00
Russ Cox ab4f479b5c 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>
2021-11-22 16:42:44 +00:00
Paschalis Tsilias 0d747a3693 _content/ref/mod: document '-o' flag for go mod vendor
For golang/go#47327

Change-Id: I8f6a4da541be4d95aa8b420b0294a0c1e78b8a0b
Reviewed-on: https://go-review.googlesource.com/c/website/+/362814
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Than McIntosh <thanm@google.com>
2021-11-10 21:49:32 +00:00
Rodolfo Carvalho c8768b9a37 _content/ref/mod: fix typo
Change-Id: I5581e2e62ab449826cc6086cd1948fdd7021563f
GitHub-Last-Rev: f1e468fb0c
GitHub-Pull-Request: golang/website#99
Reviewed-on: https://go-review.googlesource.com/c/website/+/355030
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Trust: Daniel Martí <mvdan@mvdan.cc>
Trust: Alberto Donizetti <alb.donizetti@gmail.com>
2021-10-11 18:13:30 +00:00
Jay Conrod f904477960 _content/ref/mod: document 'go install cmd@version' ignores vendor
For golang/go#48332

Change-Id: I3e1b6228ce2ef6c78b851bffb79b48e9ac06aad0
Reviewed-on: https://go-review.googlesource.com/c/website/+/349590
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2021-09-13 16:18:21 +00:00
Jay Conrod 21c654529d _content/ref/mod: document that module paths can't contain short names
Fixes golang/go#47493

Change-Id: I97d929e646b107766ed44f9bd120ab07e15429e4
Reviewed-on: https://go-review.googlesource.com/c/website/+/344569
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
2021-08-24 21:45:50 +00:00
Jay Conrod 149d2a4cfd _content/ref/mod: document that nested modules are ignored in zip files
Change-Id: Idde807eb94041967c335a49973e59dbf70a7f5be
Reviewed-on: https://go-review.googlesource.com/c/website/+/342531
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
2021-08-23 17:51:41 +00:00
Russ Cox 6c6d3e7c40 cmd/golangorg: move blog from blog.golang.org to go.dev/blog
This is the first of a sequence of consolidations of web sites into
the single site go.dev. An accompanying blog post (next CL) will
explain the change.

The blog/_content tree moves to go.dev/_content/blog.
The *.article files were converted to *.md files using rsc.io/tmp/blog2md.
The old dot directives are now template function invocations,
so that blog content files are now exactly the same format and
semantics as regular site content files.

All the old blog redirects are carried forward, of course.

Also add exhaustive test that every .md file renders correctly.

Also rename rawhtml to raw, because it gets used for raw Markdown too.
The raw Markdown issue is working around a bigger problem
(html/template is not really right for Markdown) that we will have
to solve at some point, but not in this CL.

Change-Id: Ifa9b3b8d656a72af30d0d4e57e4c7bc8dacbc386
Reviewed-on: https://go-review.googlesource.com/c/website/+/342091
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2021-08-18 19:48:35 +00:00
Russ Cox dda655f330 cmd/golangorg: fix ref/mod to be template-safe and add exhaustive template syntax test
Fixes golang/go#47751.

Change-Id: I28a979eee3c75749449291d0b60bc64a6d761ae0
Reviewed-on: https://go-review.googlesource.com/c/website/+/342899
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2021-08-17 18:22:02 +00:00
Jay Conrod 43e3401d66 _content/ref/mod: document that vendor is omitted in zip files
Change-Id: I7d9b06102cdbb5d86ab04064b98e867c9e47d095
Reviewed-on: https://go-review.googlesource.com/c/website/+/340509
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2021-08-16 18:42:32 +00:00
Bryan C. Mills 06ce489bed _content/ref/mod: update terminology for Go 1.17 changes
For golang/go#47397

Change-Id: I7046bddb17bdd7957603e16580e7c9bab4a8c05a
Reviewed-on: https://go-review.googlesource.com/c/website/+/339991
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
2021-08-06 20:43:34 +00:00
Jay Conrod 0c3ebd1d7c _content/ref/mod: document special case for LICENSE
Change-Id: Ie15dc10304d430d1fb3201931fc5c161581f79ea
Reviewed-on: https://go-review.googlesource.com/c/website/+/340209
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2021-08-05 20:30:57 +00:00
Jay Conrod 55fae94f8c _content/ref/mod: explain what 'go install' does for non-main packages
Change-Id: Ic4cf4566172af543cf58abc6c701a0c24f1866fe
Reviewed-on: https://go-review.googlesource.com/c/website/+/338349
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
2021-07-29 20:27:07 +00:00
Bryan C. Mills 183dc663dd _content/doc/modules/gomod-ref: add links to /ref/mod
Also update the list of behaviors controlled by the go directive for
Go 1.17.

Change-Id: Ie9eee13f0c43efd41f97d8d7c30a5ec354064776
Reviewed-on: https://go-review.googlesource.com/c/website/+/335141
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Steve Traut <straut@google.com>
2021-07-19 20:26:38 +00:00
Bryan C. Mills 7588ddd3e9 _content/ref/mod: mention other Go 1.17 behaviors that depend on the go version
Updates golang/go#36876
Updates golang/go#42970
Updates golang/go#45965

Change-Id: I542e9ece986806f9b4a062f242387b1ca47f5814
Reviewed-on: https://go-review.googlesource.com/c/website/+/335050
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
2021-07-16 21:09:52 +00:00
Bryan C. Mills fa093afd72 _content/ref/mod: document Go 1.17 lazy loading and module graph pruning
For golang/go#36460

Change-Id: I36b3657103f069412b225356d011a19c1a10109e
Reviewed-on: https://go-review.googlesource.com/c/website/+/333629
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
2021-07-16 21:09:22 +00:00
Jay Conrod aee54c06b6 _content/ref: add table of supported version control systems
Change-Id: Id83f3e7deac143abb1db7272090daafad89acab9
Reviewed-on: https://go-review.googlesource.com/c/website/+/324489
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2021-07-08 21:22:47 +00:00
Bryan C. Mills 63a720e45b _content/ref/mod: clarify that go.mod files are not required for dependencies
We already mentioned this fact elsewhere in the document, but the
"go.mod files" section is a likely starting point for someone trying
to figure out what happens when the file is missing. This adds some
prose and links there to point the reader to the appropriate sections.

Noticed via https://stackoverflow.com/q/67030123.

Change-Id: Ia7fe50a8b97b8cc1320778c318e5b3b0694d7c05
Reviewed-on: https://go-review.googlesource.com/c/website/+/331949
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
2021-06-30 18:47:03 +00:00
Jay Conrod 08e38f9b82 _content/ref: add extra note for 'go get' build deprecation
For golang/go#43684

Change-Id: Ic72fd0b6d1f4ff3262115e1cdaf028c315dc18f8
Reviewed-on: https://go-review.googlesource.com/c/website/+/329500
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2021-06-21 15:36:43 +00:00
Jero Bado 70b9ab0075 _content/ref: apply correct character for grave accent
Fixes golang/go#46599

Change-Id: I575e75f6d9806640480c7238a7d1060228332ef9
GitHub-Last-Rev: 2b09fa4657
GitHub-Pull-Request: golang/website#59
Reviewed-on: https://go-review.googlesource.com/c/website/+/325989
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
2021-06-08 15:59:55 +00:00
Jay Conrod 59d9e0e382 _content/doc: add reference on serving a module directly from a proxy
This was hinted at in "Finding a repository for a module path", but
this change makes the functionality more explicit and provides and
example.

Change-Id: I9a60c1d19c53108e8ae20112fcb3e88d97413677
Reviewed-on: https://go-review.googlesource.com/c/website/+/322670
Trust: Jay Conrod <jayconrod@google.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2021-06-02 16:31:37 +00:00