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

2215 Коммитов

Автор SHA1 Сообщение Дата
Zvonimir Pavlinovic 7257a64727 _content/blog/vuln: provide installation details for govulncheck
Fixes golang/go#57412

Change-Id: Id679631712b177c82f2ff2c15d141204e5ce47c5
Reviewed-on: https://go-review.googlesource.com/c/website/+/459255
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Run-TryBot: Zvonimir Pavlinovic <zpavlinovic@google.com>
Reviewed-by: Julie Qiu <julie@golang.org>
2023-01-04 21:28:19 +00:00
Tatiana Bradley fc66a3dae1 _content/security: update PRIVATE track examples
Updates PRIVATE track description in the security policy
to include newer examples that follow the current process.

For golang/go#56485

Change-Id: Ie4a7a16535b5496dc472d4094ac945c569c4506d
Reviewed-on: https://go-review.googlesource.com/c/website/+/460055
Auto-Submit: Tatiana Bradley <tatiana@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Run-TryBot: Tatiana Bradley <tatiana@golang.org>
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-01-03 16:05:46 +00:00
Frederick Mixell 7a2ed92457 _content: Sidebar template prop
- Adds desktop only sidebar options
- Turn on any doc template with "Sidebar" prop
- currently 2 sidebar choices "faq" or "bug"

Added to the following pages
- /doc/install
- /doc/faq
- /help

Video: https://drive.google.com/file/d/1MmZSvdqcmREeB5ZU0YXwuilFDsusmne1/view?usp=sharing

Change-Id: Ie106fdfeac464752789319aa87ffe0144dbc5c88
Reviewed-on: https://go-review.googlesource.com/c/website/+/441857
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
2022-12-28 16:21:58 +00:00
Suzy Mueller e686abea87 _content/blog: fix broken images in survey 2022 results
A couple of images were not displaying correctly in the
2022 survey results for q2.

Fixes golang/go#57456

Change-Id: I93bac1eea6428d5cd0b0f45d13ca096637f06e9a
Reviewed-on: https://go-review.googlesource.com/c/website/+/459436
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Suzy Mueller <suzmue@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-12-27 17:17:18 +00:00
Frederik Zipp 004bc941d6 _content/blog: fix broken link to design document in why-generics
The Markdown link to the design document contains an invalid
line break between the description and the URL, causing the
link to be rendered incorrectly.

Also mention that generics are referred to as "type parameters"
in the spec.

Fixes golang/go#57421

Change-Id: I2acef0af0fa54700768f00d0103f6ea161c87c39
Reviewed-on: https://go-review.googlesource.com/c/website/+/458795
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: David Chase <drchase@google.com>
2022-12-22 00:20:05 +00:00
Frederick Mixell 1272e65ac9 _content: Download install redesign
- Updates /doc/install design
- Updates /dl/ button style

Screenshot Buttons: https://drive.google.com/file/d/1zfuQRuYxlvb1ej0LS5bCituFX91scQA1/view?usp=sharing

Screenshot Doc Install: https://drive.google.com/file/d/1lhLf8DXq93F-u20i54eH9-CS5CzF9X_-/view?usp=sharing

Change-Id: I7ced9f5cdd6540382d3df23b87caadfd1c78cb1d
Reviewed-on: https://go-review.googlesource.com/c/website/+/441855
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
2022-12-21 13:33:19 +00:00
Anderson Queiroz cc976e8098 _content/doc: fix the contribute guide's query for issues on GitHub
It add 'go.dev/cl' on the GitHub issue tracker queries, and their links,
for issues with and without a suggested change.

Fixes golang/go#54546

Change-Id: I5e6852f39181e4169af0a67a409f11581c201138
Reviewed-on: https://go-review.googlesource.com/c/website/+/424974
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2022-12-16 15:59:47 +00:00
Dmitri Shuralyov effafb5397 cmd/{admingolangorg,googlegolangorg}: update App Engine runtime to Go 1.19
Keep them up with the times.

Also rewrite googlegolangorg's .gcloudignore to more effectively include
only the bare minimum files using the same approach as in CL 406374.

Change-Id: Ibc42b164e0cfb8052af0ec560044a20c62fc8368
Reviewed-on: https://go-review.googlesource.com/c/website/+/456775
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-12-15 22:34:36 +00:00
Bryan C. Mills 937656afc1 all: update golang.org/x dependencies to latest
Fixes golang/go#57217.

Change-Id: I58e7f310051613c5052d2352d50e3db99a411088
Reviewed-on: https://go-review.googlesource.com/c/website/+/456517
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-12-13 14:46:58 +00:00
Than McIntosh 5360f253cd _content/testing/coverage: fix typo in reporting section
Fix typo in reporting section ("-i" and "percent" transposed).

Fixes golang/go#57268.

Change-Id: I96c49a1ec6f2ef8f4b07d84e0de4de8dc5c4ea5e
Reviewed-on: https://go-review.googlesource.com/c/website/+/456776
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-12-13 00:26:29 +00:00
Dmitri Shuralyov a697538369 internal/backport: delete
Now that the deploy happens with Go 1.19, it's viable to start using
these packages from the standard library instead of their backported
temporary copies.

Keeping Go 1.18 happy during its last two months of support requires
a tiny complication in pkgdoc package. An alternative path is to not
drop internal/backport/go/doc and all of its dependencies right away,
but getting to zero backported packages sooner was hard to resist...

For golang/go#51800.

Change-Id: Ieb7a137a033d6b6850dfc019c8c0c767756cc30d
Reviewed-on: https://go-review.googlesource.com/c/website/+/456522
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Bypass: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
2022-12-12 20:37:14 +00:00
Dmitri Shuralyov 21c8d588a1 cmd/golangorg: update App Engine runtime to Go 1.19
Now that it's available, start deploying with it.

For golang/go#51800.

Change-Id: I11c4dc131e33f192e9d7ea1fb5a154fc3422dece
Reviewed-on: https://go-review.googlesource.com/c/website/+/456521
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
2022-12-12 15:40:29 +00:00
Than McIntosh e35843a5b8 _content/testing/coverage: more minor edits to coverage section
Additional fixes to address comments/suggestions from @eliben.

Change-Id: I99e3c5338eb4f9667835c4e36ba044dd211de5f9
Reviewed-on: https://go-review.googlesource.com/c/website/+/456317
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Eli Bendersky‎ <eliben@golang.org>
2022-12-12 13:51:02 +00:00
Than McIntosh 9376d45ab3 _content/testing/coverage: add 'frequently asked questions' section
Add an FAQ section, as well as a main table of contents. Fix
a few minor formatting errors.

Change-Id: I553bfc11ea9e3abc1cad53d2f8a9832b9f2f68e9
Reviewed-on: https://go-review.googlesource.com/c/website/+/456058
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
2022-12-09 17:07:10 +00:00
Than McIntosh b31b7a9e77 _content/testing/coverage: minor fixes to section on integration test coverage
Fix a couple of typos, reword a few paragraphs.

Change-Id: I3c9b3e691ff0c760a64966d5453dc635850d8f41
Reviewed-on: https://go-review.googlesource.com/c/website/+/455995
Reviewed-by: Eli Bendersky <eliben@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
2022-12-07 22:07:04 +00:00
Julie Qiu 929e34875b _content/security: fix typo
Issue 43786 is fixed to correctly refer to crypto/elliptic.

Change-Id: Id2c17b54de3c6b6eb9dff5d9e54cc4e70b54fa48
Reviewed-on: https://go-review.googlesource.com/c/website/+/455495
Auto-Submit: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-12-07 16:10:43 +00:00
Than McIntosh b24265ef95 _content: add section on integration test code coverage
Add a landing page with material on how to gather coverage
profiles from integration tests.

Updates golang/go#51430.

Change-Id: I79aed14a3a2f87ed15ed8c603f26dd2b1a1fb508
Reviewed-on: https://go-review.googlesource.com/c/website/+/455496
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
2022-12-07 15:53:18 +00:00
Carlos Amedee 06bbb5a0a3 internal/history: document Go 1.19.4 and 1.18.9 releases
Fixes golang/go#57145

Change-Id: I7b0c1879292f8ce5e41ef41ce850e1b98ee9fc97
Reviewed-on: https://go-review.googlesource.com/c/website/+/455875
Run-TryBot: Carlos Amedee <carlos@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-12-07 15:52:45 +00:00
Frederick Mixell 6951227623 _content: Copy code snippets
- Updates pre style for doc articles
- Adds js for copying code snippets
- .CopyPaste class with button to work with the js

Darkmode Screenshot: https://drive.google.com/file/d/1plTsw3rd_KoeNkjwEB19uOGZtr5DlHAT/view?usp=sharing

Video: https://drive.google.com/file/d/1PuPiSVbKZsOSadW-iVYI-aNmiiXpPn8B/view?usp=sharing

Change-Id: I2c244c6dd8e73b13c7ee8554d35919d0eb3e18c6
Reviewed-on: https://go-review.googlesource.com/c/website/+/441856
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-12-05 14:51:44 +00:00
Ian Lance Taylor 05f06604c6 _content/doc/articles/race_detector: cgo requires a C compiler
Fixes golang/go#56937

Change-Id: Ia9aca2c8f57e5f5641f40712df00d932578d13a5
Reviewed-on: https://go-review.googlesource.com/c/website/+/453435
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
2022-11-28 20:20:15 +00:00
Russ Cox 5934f13cc5 _content: change Go headline on go.dev
The old one (“Build fast, reliable, and efficient software at scale”)
is missing "simple" and "secure"; also "fast" and "efficient" are synonyms.

Change-Id: I50e6bb524e5095d88b4b71f644c3653da98712ff
Reviewed-on: https://go-review.googlesource.com/c/website/+/451297
Reviewed-by: Sameer Ajmani <sameer@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
2022-11-18 18:55:21 +00:00
Jamal Carvalho 859573a54b _content/css: invert github css for dark theme
Fixes golang/go#56559.

Change-Id: I3f8aa801ad3ef97686903dd1019f5df2f2ed9e3d
Reviewed-on: https://go-review.googlesource.com/c/website/+/450416
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
2022-11-15 20:11:29 +00:00
Russ Cox a7a6fd0f14 _content/doc/contribute: say GOROOT instead of GODIR
There's not much point to having a second name for this concept.
Everything else in the Go world calls it GOROOT.
This text can too.

Change-Id: Idb6082fbb6b9f6b133af8caeb4d0c071cba41fbc
Reviewed-on: https://go-review.googlesource.com/c/website/+/449455
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2022-11-10 18:44:29 +00:00
Russ Cox ff904cce94 _content/blog: post 13years
Post about Go's 13th birthday.

Also tweak the css to not background color fixed-width font in paragraphs.
Coloring whole <pre> blocks is fine, but coloring font changes is
typographically suspect and especially doesn't work well with our
convention in this web site of setting spaces inside phrases like "go test"
with variable-width spaces: <code>go</code> <code>test</code>.
It looks terrible to have a background highlight on that.

Change-Id: Ibbb3ad782d05f107fda572c269c24ef82e937d61
Reviewed-on: https://go-review.googlesource.com/c/website/+/449456
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Eli Bendersky <eliben@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-10 16:46:01 +00:00
Russ Cox 38c9a97a25 internal/redirect: handle go.dev/cl/c/... which keeps popping up
Some shorteners blindly rewrite go-review.googlesource.com/ to go.dev/cl/
but Gerrit has changed the URL schema to start with c/<repo>/+/<id>
instead of just <id>. So we now see URLs like go.dev/cl/c/go/+/12345.
Assume that the leading c/ means it is for Gerrit and redirect accordingly.

Change-Id: I72aa365681145432a6e50eb1ba7b1a85d191a314
Reviewed-on: https://go-review.googlesource.com/c/website/+/447996
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-09 14:28:26 +00:00
Jamal Carvalho 0bdc4717c2 _content/css: improve playground page margins
Fixes golang/go#56518.

Change-Id: Ia9a55046873961b53b031b3ccbf764041ac29e5a
Reviewed-on: https://go-review.googlesource.com/c/website/+/447998
Reviewed-by: Robert Findley <rfindley@google.com>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-07 17:58:39 +00:00
Russ Cox 515b2069ab _content: update from CC-BY-3.0 to CC-BY-4.0 across the board
CC-BY-3.0 was shiny and new back in 2009, but CC-BY-4.0 is
generally preferred now. Update our CC-BY uses to CC-BY-4.0.

Not sure how we ended up with both /doc/copyright and /copyright,
but redirect /doc/copyright to /copyright.

Google lawyers signed off on the overall CC-BY-4.0 update
and Renee French signed off on the update of the gopher license.

Change-Id: Ica8f6d51775623eb38ac0a9cba18dbc0a82faea4
Reviewed-on: https://go-review.googlesource.com/c/website/+/447156
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-02 20:14:38 +00:00
Russ Cox de15dbe30d _content/doc/comment: document form of directive comments
Fixes golang/go#43776.

Change-Id: I3e18dbe5dfb0bca96a16203efd4c2a92636cf412
Reviewed-on: https://go-review.googlesource.com/c/website/+/442516
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2022-11-02 14:30:32 +00:00
Matthew Dempsky 3c8a10182f internal/history: document Go 1.19.3 and 1.18.8 releases
Change-Id: I9d4c8608e61a6aa24cc65cf18aafdb88b5cace73
Reviewed-on: https://go-review.googlesource.com/c/website/+/446935
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2022-11-01 16:53:00 +00:00
Ian Lance Taylor 4fbb06500b internal/web: adjust test to not require exact error message
Fixes breakage from CL 446115.

Change-Id: I54be08987e04d3baaabc22b0450b7492f44bbca2
Reviewed-on: https://go-review.googlesource.com/c/website/+/446655
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2022-10-31 17:05:49 +00:00
Conor Britain 3cbdc17ec9 _content: update header nav with dropdowns and subnavs
Adds dropdown menus as well as fixed open/closed states. Adds submenus
to mobile header nav.

Change-Id: I0fdf6fd81008857b1ed28f0a8388de8e004eb722
Reviewed-on: https://go-review.googlesource.com/c/website/+/435522
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
2022-10-31 17:00:13 +00:00
ryicoh 2a33458910 _content/play.tmpl: remove unnecessary spaces
Change-Id: I616f2afe682215e7a0cf353dafd7aa930bffd1fb
GitHub-Last-Rev: 42fd1858b0
GitHub-Pull-Request: golang/website#180
Reviewed-on: https://go-review.googlesource.com/c/website/+/425814
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Hajime Hoshi <hajimehoshi@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
2022-10-24 17:50:24 +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
Jamal Carvalho 891eaca401 internal/screentest: prevent storage client init if gcs buckets is empty
The storage client will cause an error if the caller has not
registered default application credentials for GCP. If the test
only contains local screenshots this should not be necessary.

Change-Id: I3433141cb392f5d3cd8f20aa678330cd948ab15f
Reviewed-on: https://go-review.googlesource.com/c/website/+/442177
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
2022-10-11 16:05:09 +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
Carlos Amedee f379117837 internal/history: document Go 1.19.2 and 1.18.7 releases
Change-Id: I16189d677f83d3508aa3a6b4841b0e30b47312ca
Reviewed-on: https://go-review.googlesource.com/c/website/+/438180
Run-TryBot: Carlos Amedee <carlos@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2022-10-04 18:01:56 +00:00
Heschi Kreinick cf701bc4fc cmd/admingolangorg: run under IAP and support playground removals
In locking down our permissions, I blocked access to this site and
x/build/rmplaysnippet. Put the site behind IAP, and add playground
removal support.

Change-Id: I7722f5911f31a140c93780fe0417dd2368276926
Reviewed-on: https://go-review.googlesource.com/c/website/+/435455
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Heschi Kreinick <heschi@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2022-09-27 21:05:40 +00:00
Michael Anthony Knyszek aff3925441 _content/blog: add Go 1.19 runtime blog post
Change-Id: Ie8f532ba0fbafbb8e2984552aadfe418d5d40a4d
Reviewed-on: https://go-review.googlesource.com/c/website/+/425182
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-09-26 18:23:45 +00:00
Jamal Carvalho 465c4925ca internal/screentest: update package docs
Documentated eval keyword which allows for running arbitrary JavaScript
snippets in the context of the page. Unexported response struct, not
intended for use outside of the package.

Change-Id: I34b570ad997f253b1a262836dd3f240e15366465
Reviewed-on: https://go-review.googlesource.com/c/website/+/432878
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
2022-09-23 16:47:02 +00:00
Jamal Carvalho 6f71e8c807 _content/js: adjust HaTS sample rate, disable on playground
Change-Id: Ia49852d76c03dd79f1904df415e849a0af3dd4d4
Reviewed-on: https://go-review.googlesource.com/c/website/+/432875
Run-TryBot: Jamal Carvalho <jamal@golang.org>
Auto-Submit: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
2022-09-22 17:52:25 +00:00
Zeke Lu 663b23d156 _content/doc/play: use the Nilakantha Series to compute pi
The Nilakantha Series converge more quickly comparing to the
Gregory-Leibniz Series.

Fixes golang/go#53598.

Change-Id: I9f2bbdde403b302d652171a76dddc623d2291712
GitHub-Last-Rev: 81327fe84c
GitHub-Pull-Request: golang/website#165
Reviewed-on: https://go-review.googlesource.com/c/website/+/414826
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
Run-TryBot: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Galvin Gao <galvingaoper@gmail.com>
2022-09-22 14:05:23 +00:00
Todd Kulesza 4e84c07618 _content/solutions: remove dead link
Target removed their Go case study, so we should remove our link to it.

Fixes golang/go#49960.

Change-Id: Ib8b3a1505fd4e8059da96d18c152e928722b0ce1
Reviewed-on: https://go-review.googlesource.com/c/website/+/432455
Auto-Submit: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-09-21 18:19:23 +00:00
Jang Rush cd84252011 _content/doc/comment: capitalization inconsistencies of unicode
In "unicode right quote", the capitalization of the word Unicode was inconsistent with other occurrences of the document.

Change-Id: Ib2c4a60e8ce39c81a1567078e9fc555c7b9dfbb2
GitHub-Last-Rev: 50238f14bf
GitHub-Pull-Request: golang/website#184
Reviewed-on: https://go-review.googlesource.com/c/website/+/431197
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
2022-09-19 17:05:17 +00:00
cui fliter 9bc73d972c _content: fix some frontend label bugs
Change-Id: I68b0601ec156257ede7d65cc253f5c4f0ec7c69d
GitHub-Last-Rev: 1ccde8a810
GitHub-Pull-Request: golang/website#185
Reviewed-on: https://go-review.googlesource.com/c/website/+/431555
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Michael Knyszek <mknyszek@google.com>
2022-09-19 15:22:08 +00:00
cui fliter 12004075ca _content: fix ineffective font colors
This string expected the font color to be dark blue, but it didn't take effect.

Change-Id: I213ade6439da87d426f4ba5e20cb06f768da0bed
GitHub-Last-Rev: 9ecbb6e818
GitHub-Pull-Request: golang/website#183
Reviewed-on: https://go-review.googlesource.com/c/website/+/431195
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
2022-09-19 15:21:25 +00:00
Tatiana Bradley dc3bd55b37 _content/security/vuln: fix vuln endpoint in database doc and add example
Change-Id: I650ab0394f14a4cb71ba0d587222373c3c4741d7
Reviewed-on: https://go-review.googlesource.com/c/website/+/431416
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
2022-09-16 18:54:35 +00:00
Tatiana Bradley 5526d80c26 _content/security/vuln: move CNA page overview to index
The CNA is related to the database but is also a separate entity, and
makes more sense to be linked to from the main landing page.

Change-Id: I8f392252831b5a662eedbfda78ba2256cea828ad
Reviewed-on: https://go-review.googlesource.com/c/website/+/431415
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
2022-09-16 18:53:46 +00:00
Ian Lance Taylor 69e03a2e34 internal/backport/go/build: remove unnecessary copies of package variables
These variables never change, we don't need second copies of them.

Change-Id: I79fec284402dd709af1c2f9a7edf24f2c83d9d8b
Reviewed-on: https://go-review.googlesource.com/c/website/+/429576
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
2022-09-14 02:59:29 +00:00