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

2662 Коммитов

Автор SHA1 Сообщение Дата
Heschi Kreinick 579683a2b7 internal/history: document Go 1.21.4 and 1.20.11 releases
Change-Id: Id5deb52b58464da68bb47599c1ed82a32944ddf6
Reviewed-on: https://go-review.googlesource.com/c/website/+/540298
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-11-07 17:57:17 +00:00
Dmitri Shuralyov 3bf2b07e90 _content/doc/go1.8: document reserved GOOS=zos value
Mention its existence retroactively for posterity, similarly to how the
reserved GOOS=hurd value was documented in the Go 1.12 release notes.

For golang/go#17528.
For golang/go#17929.

Change-Id: Ia574d856f1fca8b387c9f25530843cc874f525b7
Reviewed-on: https://go-review.googlesource.com/c/website/+/537916
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2023-11-06 16:49:50 +00:00
Jonathan Amsterdam fa86b70e02 internal/web: allow markdown files to turn off templates
If a markdown file has `template: false` in its metadata,
it will not be treated as a template.

Change-Id: I81599ea02b05ff7693f5f816293433df4988b64c
Reviewed-on: https://go-review.googlesource.com/c/website/+/537497
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2023-11-01 12:26:52 +00:00
Rida Dzhaafar e4467a2baa doc/effective_go: fix broken link
Change-Id: I99b9be77dd665be634cf49a834bc0f82e9cce45e
GitHub-Last-Rev: 5d01712aae
GitHub-Pull-Request: golang/website#257
Reviewed-on: https://go-review.googlesource.com/c/website/+/535495
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
2023-10-18 19:57:56 +00:00
Russ Cox b9a1f70fd8 _content/doc/codewalk: fix code iframe size
This was broken at some point in the transition to the new site.
The iframe sizer was failing to run because '#footer' was not resolving.
If we fix it, then we have the problem that the "footer" is enormous
and we don't want to leave room for it on the screen anymore,
so just zero out that part of the computation.

This makes the codewalks viewable again.

Change-Id: I4080063bdb8988eeaf786e0f579e6e0877d97cb5
Reviewed-on: https://go-review.googlesource.com/c/website/+/534859
Auto-Submit: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
2023-10-13 17:38:59 +00:00
Russ Cox 13bd8e0219 _content: add Go fonts back for go.dev/blog/go-fonts
go.dev/blog/go-fonts is meant to render using the Go fonts,
but in the move from x/blog to x/website, I dropped those
files accidentally, because they were in _static instead of _content.
Bring them back, properly linked from the fonts blog post.

Change-Id: Ia96b12df95f968357c87d8423d4ca9eb76a83f9e
Reviewed-on: https://go-review.googlesource.com/c/website/+/534858
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Eli Bendersky <eliben@google.com>
2023-10-13 17:38:57 +00:00
Dmitri Shuralyov e21a2c79bd cmd/{adminapp,adminredirect,googlegolangorg}: update App Engine runtime
Keep them up with the times.

Change-Id: I8f6940b59cac0c70320a796a0c3cfcdef8a2633d
Reviewed-on: https://go-review.googlesource.com/c/website/+/531676
Auto-Submit: 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>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2023-10-12 21:55:11 +00:00
Eli Bendersky 1a42f6637b _content/doc: remove link to old blog post from a prominent place
The linked blog post is from the days of GOPATH and can be confusing
with modern Go; we have a more official documentation page on
organizing Go modules now.

Change-Id: I01b67f750055a83d9ecc25c596719ffd842ef7ed
Reviewed-on: https://go-review.googlesource.com/c/website/+/534795
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2023-10-12 15:34:40 +00:00
Dan Kortschak ed33edc86c _content/blog: fix grammar
Change-Id: I6aa2feab8dec5e7b057cef94dfa7188a0ce361ee
Reviewed-on: https://go-review.googlesource.com/c/website/+/534435
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2023-10-11 04:43:45 +00:00
Dmitri Shuralyov 24b2e95ba7 internal/history: document Go 1.21.3 and 1.20.10 releases
Change-Id: I2b60b5f4129a565d23fd2eb5d64c0dbf578134b4
Reviewed-on: https://go-review.googlesource.com/c/website/+/534217
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-10-10 16:44:50 +00:00
Robert Griesemer 76748e4222 _content/blog: misc. fixes to inference blog post
Per feedback from Dmitri Shuralyov.
Also, smoothened out some repetitive prose.

Change-Id: Ia850912c2fc48ce62a5523382ea33c19e7a0bc6a
Reviewed-on: https://go-review.googlesource.com/c/website/+/533895
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-10-09 20:25:23 +00:00
Dmitri Shuralyov 9fc787971d internal/history: document future Go 1.21.3 and 1.20.10 releases
Change-Id: I88ba2892c8a0e953f0179dbd59eae9f43d1ecbce
Reviewed-on: https://go-review.googlesource.com/c/website/+/533955
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
2023-10-09 18:51:52 +00:00
Robert Griesemer 66ac2b290e _content/blog: add type inference blog post
Change-Id: I577c70f0f70b363cc23761367b58b6a35b447592
Reviewed-on: https://go-review.googlesource.com/c/website/+/532535
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Bypass: Robert Griesemer <gri@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
2023-10-07 00:26:17 +00:00
Gopher Robot db91826d66 go.mod: update golang.org/x dependencies
Update golang.org/x dependencies to their latest tagged versions.

Change-Id: I43f23203a4699d555e46f76b6f13886b38248112
Reviewed-on: https://go-review.googlesource.com/c/website/+/533379
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Gopher Robot <gobot@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-10-06 14:02:11 +00:00
Alexander Yastrebov 9817d4fb13 _content/tour: add dark theme cursor and selection styles
Add styles for dark theme cursor and selection.
Cursor color set equal to the foreground color.
Focused selection color set to the complement color
of the background color and inactive selection
is the lighter tint of it.

Fixes golang/go#63313

Change-Id: If9702f45262eea330d42ec0fd9717b36da026540
GitHub-Last-Rev: 1545bbaea9
GitHub-Pull-Request: golang/website#253
Reviewed-on: https://go-review.googlesource.com/c/website/+/531856
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Suzy Mueller <suzmue@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
2023-10-05 22:11:16 +00:00
Michael Pratt 914e496b73 go.mod: update x/build to CL 532577
For golang/go#61940.

Change-Id: I5e7bce3ee2e8fb0824772496b86f4bcc16cdca72
Reviewed-on: https://go-review.googlesource.com/c/website/+/533295
Reviewed-by: Heschi Kreinick <heschi@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
2023-10-05 20:19:29 +00:00
Michael Pratt b743353d73 internal/history: document Go 1.21.2 and 1.20.9 releases
Change-Id: Ida8e46ae0c8cd6241a96eac5565310b8b767d307
Reviewed-on: https://go-review.googlesource.com/c/website/+/533255
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Than McIntosh <thanm@google.com>
2023-10-05 19:31:45 +00:00
Michael Pratt 438b262fe1 _content/doc/gc-guide: explain mark worker types
Within background mark workers we already have "dedicated",
"fractional", and "idle" workers. Those aren't currently discussed in
this doc, but the idle worker note would be more clear if it did, so
adjust.

Change-Id: I44446cfd157fdae6be29c961052dbdabb1394bcf
Reviewed-on: https://go-review.googlesource.com/c/website/+/531707
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
2023-10-02 20:28:41 +00:00
Dmitri Shuralyov 8a1e138e64 cmd/locktrigger: migrate to cloud.google.com message types
Done with:

go run cloud.google.com/go/internal/aliasfix/cmd/aliasfix@latest .
go mod tidy

As suggested in the package deprecation note¹.

¹ https://pkg.go.dev/google.golang.org/genproto/googleapis/devtools/cloudbuild/v1#pkg-overview

Change-Id: I5bc13274728839f3ef4df9aadda9634f46e1968c
Reviewed-on: https://go-review.googlesource.com/c/website/+/531701
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2023-10-02 18:37:36 +00:00
Dmitri Shuralyov 1aed222fcd internal/{gitfs,webtest}: use strings.Cut
Basic cut functionality is available in the standard library as of
Go 1.18, so today's supported Go versions (1.21 & 1.20) can use it.

Also delete cutAny since it was unused.

Change-Id: Iafce0197979d58f4ff4226fd5f640e925ab9b559
Reviewed-on: https://go-review.googlesource.com/c/website/+/531700
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-10-02 18:37:27 +00:00
Dmitri Shuralyov a3041e72d5 cmd/golangorg: update App Engine runtime to Go 1.21
By now the supported and tested Go versions are Go 1.21 and 1.20.
Update the website deployment to start using the Go 1.21 runtime.
See https://cloud.google.com/appengine/docs/standard/lifecycle/support-schedule#go.

Change-Id: Idc9545ad57ae5de000323bd361b03c13fb918f45
Reviewed-on: https://go-review.googlesource.com/c/website/+/531675
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2023-10-02 15:39:42 +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
Ian Lance Taylor ab35c9fe3c _content/blog/deconstructing-type-parameters: tipo, missing comma
Change-Id: I279a4c5ba6aff116fc0795996ee811da375e02b8
Reviewed-on: https://go-review.googlesource.com/c/website/+/530681
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Eli Bendersky <eliben@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-09-27 11:55:49 +00:00
Ian Lance Taylor eed5cfb0c7 _content/blog: add deconstructing type parameters
Change-Id: I27784eb8c940a7c73a15f20e9cf5d63d3c309162
Reviewed-on: https://go-review.googlesource.com/c/website/+/530678
Reviewed-by: Eli Bendersky <eliben@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
2023-09-26 22:02:49 +00:00
Suzy Mueller f8747b4bbb _content/tour: improve color contrast for dark theme
Updated the color to improve the color contrast when using dark
mode. More or less tried to pick a lighter color of the light
mode color.

Color contrast changes:
- cm.atom: 1.02 -> 6.26
- cm.comment: 2.42 -> 7.6

Fixes golang/go#63229

Change-Id: Ie6257b71d32d8cccf11025e74108e80ae4f9b36d
Reviewed-on: https://go-review.googlesource.com/c/website/+/531215
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
2023-09-26 18:14:53 +00:00
Olaf Alders bd16446df0 _content/doc/modules/layout: fix typo in example file name
Change-Id: Ib8d73e5a636b36cc468d1d8b23bef660f8740f7d
GitHub-Last-Rev: a357c1c9ce
GitHub-Pull-Request: golang/website#251
Reviewed-on: https://go-review.googlesource.com/c/website/+/529736
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2023-09-20 19:30:58 +00:00
Russ Cox 1c0274a862 _content/blog/loopvar-preview: fix Let's Encrypt link
Change-Id: I2b11c98f7ba064752a0a388e81e0a4b7e1be7a3b
Reviewed-on: https://go-review.googlesource.com/c/website/+/529478
Auto-Submit: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2023-09-20 18:17:39 +00:00
Chressie Himpel b4564f4a8c _content/blog: fix a typo in loopvar-preview summary
s/one the most/one of the most/

Change-Id: I196ac2a597713ea71da2d7af5b1e582114a95d71
Reviewed-on: https://go-review.googlesource.com/c/website/+/529096
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
2023-09-20 13:23:20 +00:00
Johan Brandhorst-Satzkorn eda40a422b _content/blog: fix link in loopvar-preview post
A link to the Go release policy was broken. Fix it.

Change-Id: Idd158e32063a07d2924c1cdf50a0293e0a891a70
Reviewed-on: https://go-review.googlesource.com/c/website/+/529257
Auto-Submit: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Tim King <taking@google.com>
Run-TryBot: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
Auto-Submit: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
Reviewed-by: Damien Neil <dneil@google.com>
2023-09-19 22:34:12 +00:00
Russ Cox fc37bf9d92 _content/blog: add loopvar-preview
Change-Id: I9f83e918e2cc2ad3d8209aae706f22dce7df2f45
Reviewed-on: https://go-review.googlesource.com/c/website/+/529476
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
2023-09-19 19:04:14 +00:00
Russ Cox d95346cd31 _content: add blog link to go.dev/rebuild
Change-Id: I083c0753c43020c5d3a03818893ef203afa77652
Reviewed-on: https://go-review.googlesource.com/c/website/+/524395
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2023-09-19 17:40:18 +00:00
Eli Bendersky df06bf701c _content/doc: add guide for organizing a Go module (project layout)
Change-Id: I2092a70e0be3dbbd08d0b13c4bd4bd073a504cde
Reviewed-on: https://go-review.googlesource.com/c/website/+/529415
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2023-09-19 15:56:02 +00:00
Johan Brandhorst-Satzkorn feb9e77f0d blog: WASI support in Go
Change-Id: Id140b87d77accf36be641c34c1692cb245b87608
Reviewed-on: https://go-review.googlesource.com/c/website/+/508895
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
2023-09-13 16:05:05 +00:00
Hana (Hyang-Ah) Kim 2918f44bc2 internal/tour: include _content/images/icons
Some icons (e.g. dark mode support icons) were not included
when running the stand-alone tour. Include them.

Change-Id: I714b60077229129d1c48237f918fc1ad16be0460
Reviewed-on: https://go-review.googlesource.com/c/website/+/527081
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Russ Cox <rsc@golang.org>
2023-09-12 19:08:23 +00:00
Hana (Hyang-Ah) Kim 9a8a0a0046 _content/tour/static/js: fix type errors
script.js:694 TypeError: elm.draggable is not a function
    at http://127.0.0.1:3999/tour/script.js:10589:17
    at j (http://127.0.0.1:3999/tour/script.js:675:458)
    at e (http://127.0.0.1:3999/tour/script.js:671:248)
    at e (http://127.0.0.1:3999/tour/script.js:671:265)
    at j (http://127.0.0.1:3999/tour/script.js:675:398)
    at e (http://127.0.0.1:3999/tour/script.js:671:248)
    at http://127.0.0.1:3999/tour/script.js:670:312
    at k (http://127.0.0.1:3999/tour/script.js:782:156)
    at Object.$broadcast (http://127.0.0.1:3999/tour/script.js:722:240)
    at http://127.0.0.1:3999/tour/script.js:714:191 <div vertical-slide="" left="#left-side" right="#right-side">

_content/tour/static/partials/editor.html and _content/tour/static/css
use 'vertical-slide' and 'horizontal-slide'.
I don't know why go.dev does not report these errors.

Change-Id: I9e0f5bb2540af8e642281d7c350f57b69195624a
Reviewed-on: https://go-review.googlesource.com/c/website/+/527080
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-09-12 19:08:11 +00:00
Hana (Hyang-Ah) Kim bc602d6062 _content/tour/static/lib: sync jquery@3.7.0 jquery-ui@1.13.2
curl https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js > jquery.min.js
curl https://ajax.googleapis.com/ajax/libs/jqueryui/1.13.2/jquery-ui.min.js > jquery-ui.min.js

Change-Id: I50d2d5aa5eceaf32ecd27abcd1c4a44be6d305d8
Reviewed-on: https://go-review.googlesource.com/c/website/+/527079
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
2023-09-12 18:54:39 +00:00
Michael Anthony Knyszek 735d0fbb0e _content/doc: discuss transparent huge pages in the GC guide
For golang/go#8832.
For golang/go#55328.
For golang/go#61718.

Change-Id: I1ee51424dc2591a84f09ca8687c113f0af3550d1
Reviewed-on: https://go-review.googlesource.com/c/website/+/526615
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-09-11 17:03:41 +00:00
Robert Findley bb7347fef2 _content/blog/gopls-scalability: fix missing package name qualifier
Add a missing package name qualifier to the precise pruning diagram.

Change-Id: I6796ac0580b501f7b3f967e25967784b46bc7872
Reviewed-on: https://go-review.googlesource.com/c/website/+/527035
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-09-08 18:40:34 +00:00
Rob Findley 45145578b7 _content/blog: gopls scalability blog post
Add a new blog post describing some of the scalability work we've been
doing for gopls.

Change-Id: Id9a9a328b2e29499d635d36e96f753f9a4787978
Reviewed-on: https://go-review.googlesource.com/c/website/+/520995
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
Auto-Submit: Robert Findley <rfindley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-09-08 17:19:43 +00:00
Cherry Mui 70cf2cb772 internal/history: document Go 1.19.13 release
Change-Id: If7a237813eb8a619ae86a125dde16be3cbc283b1
Reviewed-on: https://go-review.googlesource.com/c/website/+/526175
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2023-09-06 17:37:47 +00:00
Cherry Mui a41789e101 internal/history: document Go 1.21.1 and 1.20.8 releases
Change-Id: Ie19057da92a098ee0e501488f0f5c9a117a0d287
Reviewed-on: https://go-review.googlesource.com/c/website/+/526155
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2023-09-06 17:37:28 +00:00
Gopher Robot bf1f8eb5d7 go.mod: update golang.org/x dependencies
Update golang.org/x dependencies to their latest tagged versions.

Change-Id: I16493b18caa8afa9ff097f8c64b569197bcd2ef0
Reviewed-on: https://go-review.googlesource.com/c/website/+/525640
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-09-06 09:42:19 +00:00
Michael Pratt 967d7e407b _content/blog/pgo: add PGO blog post
Change-Id: I2b674154bc6596965e1d864bbf234a5774c91494
Reviewed-on: https://go-review.googlesource.com/c/website/+/524795
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-09-05 17:25:34 +00:00
Ian Lance Taylor 8f7c30f130 _content/solutions/cloud: update link to book
Fixes golang/go#62416

Change-Id: I5addf47161c8816069db1f7779b7ba8e815d618d
Reviewed-on: https://go-review.googlesource.com/c/website/+/525177
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-09-02 00:45:10 +00:00
Hana (Hyang-Ah) Kim 74e803dd33 _content/blog: correct go work use usage
And drop the link to the Go project contribution guide
which is not necessary.

Change-Id: Ied0e433a4e1949716e1955054bd7af8ab902e433
Reviewed-on: https://go-review.googlesource.com/c/website/+/525155
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
2023-09-01 19:47:14 +00:00
Matthew Dempsky ca1fc50a3b _content/doc/comment: mention "reports whether" idiom
Mention the idiom of using "reports whether" to describe functions
that return a boolean.

While here, replace several uses of "func" with "function". In the Go
spec, "func" is a keyword used in function declarations and function
literals, but the declared object is always referred to as a
"function".

Also, change "arguments" to "parameters". Again, in the Go spec,
"arguments" is used to describe the operands that appear in a call
expression, whereas "parameters" are the objects declared in a
function signature.

Change-Id: I01dfafd05af1852a8d2056bdabbda1e2bcc8cbb7
Reviewed-on: https://go-review.googlesource.com/c/website/+/524956
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-09-01 07:02:54 +00:00
Ian Lance Taylor 2bbd800a01 _content/doc/comment: document removal of common prefix
Fixes golang/go#61373

Change-Id: I60fa1be13cb7e32af5169e303f5e1c40d207edc4
Reviewed-on: https://go-review.googlesource.com/c/website/+/524039
Reviewed-by: Russ Cox <rsc@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2023-08-31 00:55:40 +00:00
Ian Lance Taylor fa6fe8b9e9 _content/doc/go1.21: mention encoding/binary.NativeEndian
For golang/go#57237
Fixes golang/go#62349

Change-Id: I2407281b1635e3689f6e225da2ea7f562f321203
Reviewed-on: https://go-review.googlesource.com/c/website/+/524675
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
2023-08-31 00:16:05 +00:00
Dmitri Shuralyov 0daeb8a107 _content/blog: fix list item formatting in rebuild.md
It was meant to be one bullet point, not two.

Change-Id: I113f1cef44319f95aff110c6f3ef1d1dad9a69b2
Reviewed-on: https://go-review.googlesource.com/c/website/+/524396
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Russ Cox <rsc@golang.org>
2023-08-30 21:41:25 +00:00
Russ Cox 4f91f9e3eb _content/blog: add rebuild
Change-Id: I424b79460e903392f73270ee68fe88fc0ba49811
Reviewed-on: https://go-review.googlesource.com/c/website/+/523635
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-08-28 17:55:14 +00:00