| Age | Commit message (Collapse) | Author |
|
Change-Id: I063ed9fc642bd40951874de7a52a8e5487df109c
|
|
Markdown files are no longer treated as Go templates by default.
Pages that need template processing must explicitly set
"template: true" in their front matter.
This prevents unintended HTML escaping of template-like syntax
(e.g., "<" and ">") in Markdown content.
Fixes golang/go#75552
Change-Id: If00328831cd6b119043d9c2055fd21076943e2c4
Reviewed-on: https://go-review.googlesource.com/c/website/+/733500
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>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
|
|
Fixes golang/go#51188
Change-Id: I056d2387448309899ce3504fb666499f06852185
Reviewed-on: https://go-review.googlesource.com/c/website/+/677855
Reviewed-by: t hepudds <thepudds1460@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
|
|
Fixes golang/go#73538
Change-Id: I4fb713155f7a38b994a4dfebd758671bbf4170ac
Reviewed-on: https://go-review.googlesource.com/c/website/+/668975
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Madeline Kalil <mkalil@google.com>
|
|
The zero values for `mysql.Config` is not good for default.
See https://pkg.go.dev/github.com/go-sql-driver/mysql#Config
> If a new Config is created instead of being parsed from a DSN string, the NewConfig function should be used, which sets default values.
Change-Id: Ib09cce4a61f8a73571e45797edcd5ea37f0704ce
GitHub-Last-Rev: 1031334dc57e7458b66e82c6dc238bd1e1c317e1
GitHub-Pull-Request: golang/website#281
Reviewed-on: https://go-review.googlesource.com/c/website/+/582475
Reviewed-by: Sean Liao <sean@liao.dev>
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>
Auto-Submit: Sean Liao <sean@liao.dev>
|
|
Made more clear what exact command is
Change-Id: I184d9a44318aa5f816d79ad6a03b03b174a6a6e2
GitHub-Last-Rev: a14e82f00ce582c73d0c6a4a6209b2dda093df29
GitHub-Pull-Request: golang/website#313
Reviewed-on: https://go-review.googlesource.com/c/website/+/656215
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
|
|
- Change documentation to reflect the same function used on code.
- Add missing link to the documentation.
Change-Id: I8261bc7eee830d3139eb570996d69470878288f5
GitHub-Last-Rev: 435162423898a0ee933905dd537b3e8c0ec81696
GitHub-Pull-Request: golang/website#312
Reviewed-on: https://go-review.googlesource.com/c/website/+/654637
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
|
|
Fixes golang/go#68741
Change-Id: I287c99df7447a4894d3b9c65fa1ae0932858d32e
GitHub-Last-Rev: ec26e446b9609e6cc7f29663ae670a235980ed14
GitHub-Pull-Request: golang/website#297
Reviewed-on: https://go-review.googlesource.com/c/website/+/603335
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Auto-Submit: Sean Liao <sean@liao.dev>
Reviewed-by: Robert Findley <rfindley@google.com>
Commit-Queue: Sean Liao <sean@liao.dev>
Auto-Submit: Robert Findley <rfindley@google.com>
Reviewed-by: Sean Liao <sean@liao.dev>
|
|
Currently, the fuzzing tutorial provides a reverse function to use.
This led to some confusion on if it is production ready, which it is not.
Adds a note that the code does not handle combining characters correctly.
Fixes golang/go#69628
Change-Id: Id0f3a5699417d9249dc7061ff126aef15872cc83
GitHub-Last-Rev: 44c70a6aab2a61639a26fce28ce406475d821641
GitHub-Pull-Request: golang/website#305
Reviewed-on: https://go-review.googlesource.com/c/website/+/639216
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
|
|
govulncheck's go.mod now requires the use of Go version that is at least
one less than the current latest Go release. Remove the old restriction
as that is now incorrect and confusing. Just tell people to use the
latest Go version.
Updates golang/go#68034
Change-Id: I97a59d4764592496918b44c10345a2fadb92aac8
Reviewed-on: https://go-review.googlesource.com/c/website/+/614235
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
|
|
The word "workspace" was intended to be used.
Fixes golang/go#67740
Change-Id: I942f3301eaaf8f3fc6eb8964d3ebe90503bdbc60
Reviewed-on: https://go-review.googlesource.com/c/website/+/590043
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Sam Thanawalla <samthanawalla@google.com>
|
|
Insist on the canonical /issue/ and /wiki/ links instead.
Change-Id: I7a2eedda69bc3fcd11466722a41f00c9dbaf283f
Reviewed-on: https://go-review.googlesource.com/c/website/+/550323
Reviewed-by: 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>
|
|
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>
|
|
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>
|
|
We use /foo consistently so that people browsing on
golang.google.cn are not redirected to go.dev.
This CL is completely mechanical, replacing
href="https://go.dev/ -> href="/
in HTML and replacing
](https://go.dev/ -> ](/
in Markdown.
Change-Id: I8ac732d672075600c8e53c46787205454b196850
Reviewed-on: https://go-review.googlesource.com/c/website/+/548058
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
|
|
the init function is removed from the code example: https://github.com/golang/website/commit/f7341273feb9c0d7d7e12a52d975e7834bf32aa1
Change-Id: Id247fed6f46ad83e47c9871519ed8001dca79c62
GitHub-Last-Rev: 012feea9ebd1e0d68424c25dd8560138fe6182e9
GitHub-Pull-Request: golang/website#230
Reviewed-on: https://go-review.googlesource.com/c/website/+/507096
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>
Reviewed-by: Robert Findley <rfindley@google.com>
|
|
golang.org/x/example/stringutil.Reverse moved to
golang.org/x/example/hello/reverse.String.
Update references accordingly.
Fixes golang/go#61722.
Change-Id: Ib041697bc1c5c40d2b6ccefc7550caaedf338b2d
Reviewed-on: https://go-review.googlesource.com/c/website/+/515238
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
|
|
Fixes golang/go#61663
Change-Id: I46a4c0f74aa8c64b7d1eee73b9533c56f8ef8233
Reviewed-on: https://go-review.googlesource.com/c/website/+/514635
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Suzy Mueller <suzmue@golang.org>
Reviewed-by: Brandon Kessler <bkessler@google.com>
|
|
Typo causes an extra code block to appear
Change-Id: I0912c53e5ca5aed1a6435d61db6c16b7de239d8b
Reviewed-on: https://go-review.googlesource.com/c/website/+/509375
Run-TryBot: Brandon Kessler <bkessler@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
|
|
Added the tutorials for govulncheck and VS Code Go to the table on the tutorial index page
Change-Id: Ib5d64fdfb7b92ed5769a421b8c2dfde38220794b
Reviewed-on: https://go-review.googlesource.com/c/website/+/508316
Reviewed-by: Brandon Kessler <bkessler@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Auto-Submit: Julie Qiu <julieqiu@google.com>
Run-TryBot: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
|
|
Added tutorial on vulnerability scanning in IDE with VS Code Go, with images.
Change-Id: I68bbd5cd6d1bf277ac37f1fa1069eb09aef3fb04
Reviewed-on: https://go-review.googlesource.com/c/website/+/505776
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Brandon Kessler <bkessler@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
|
|
`Time` was used by `math/rand.Seed` that is removed
Change-Id: I1d288694c5a92fb866d629d8de3d3cdfa79bbf48
GitHub-Last-Rev: 1485d39c3c13aae5cd16ee79ddb29843330178a0
GitHub-Pull-Request: golang/website#226
Reviewed-on: https://go-review.googlesource.com/c/website/+/497835
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
|
|
`Time` was used by `math/rand.Seed` that is removed
Change-Id: I8e7feadce9712bf6e541321187a64da9209660fa
GitHub-Last-Rev: f3ec60a3a42b7b53d84425366b5d37a35bea1820
GitHub-Pull-Request: golang/website#227
Reviewed-on: https://go-review.googlesource.com/c/website/+/497836
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>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
|
|
Fixes golang/go#58958
Change-Id: I5ef84f2fd350e3048649cf281e8272e62b2fc052
Reviewed-on: https://go-review.googlesource.com/c/website/+/475275
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
|
|
A new tutorial is added which explains how to use govulncheck, using an
example from golang.org/x/text.
Change-Id: Ifcaab5b4d3787642a19b773cb725a5127d01e7e8
Reviewed-on: https://go-review.googlesource.com/c/website/+/488935
Run-TryBot: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Brandon Kessler <bkessler@google.com>
Auto-Submit: Julie Qiu <julieqiu@google.com>
Reviewed-by: Todd Kulesza <tkulesza@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
|
|
Update the fuzzing tutorial based on results from the UXR study to:
-Link to further documentation
-Add explanation of -fuzztime and other testing flags
-Explain fuzzing output terms like "new interesting"
-Improved clarity on some tutorial steps re: copy/pasting
Change-Id: Ia781407130b87d3a79e2bbcc912ad7fa24028056
Reviewed-on: https://go-review.googlesource.com/c/website/+/464020
Reviewed-by: Julie Qiu <julieqiu@google.com>
Run-TryBot: Julie Qiu <julieqiu@google.com>
Auto-Submit: Julie Qiu <julieqiu@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Alice Merrick <amerrick@google.com>
|
|
Added to all doc children page with doclayout.
Added to Why Go pages.
Added to Security pages.
Video of Changes:
https://drive.google.com/file/d/1wX9e9K9H9wPTaLLQHh15-cWzMTMRr9DO/view?usp=sharing
Change-Id: I0fbf8e925e7fa357762d8eebd2bf13d561d49d86
Reviewed-on: https://go-review.googlesource.com/c/website/+/432775
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
|
|
Move all fuzzing content to the /security namespace.
Redirect /doc/fuzz to /security/fuzz.
Change-Id: I26d9e8b2eef5f37e3f31710d3b03673ef9e444db
Reviewed-on: https://go-review.googlesource.com/c/website/+/427880
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: Tatiana Bradley <tatiana@golang.org>
|
|
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>
|
|
This change is a fix for what appears to be a typo. In the modules tutorial, in [section "Return greetings for multiple people"](https://golang.org/doc/tutorial/greetings-multiple-people), the step 2 code block does not indicate all the changed sections.
Everything I highlighted needs to changed in order for the code to work as intended. I found the highlights to be very helpful in following and transcribing the tutorial, so I noticed when they were incorrect.
Change-Id: I0e5ccdef4053b2f6a7a5688e5be9c3f6307c5486
GitHub-Last-Rev: 84a5c6e3ba06aa69d83af041b8f9edef2cea35f4
GitHub-Pull-Request: golang/website#49
Reviewed-on: https://go-review.googlesource.com/c/website/+/311329
Reviewed-by: Steve Traut <straut@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
|
|
Fixes golang/go#51762
Change-Id: I62b360d470fa1cdd3b32e851e65def5ec867c18d
GitHub-Last-Rev: 1a3c23a3f849e4e0bec3e24725298ee6606a6ae3
GitHub-Pull-Request: golang/website#146
Reviewed-on: https://go-review.googlesource.com/c/website/+/394414
Reviewed-by: Ian Lance Taylor <iant@google.com>
Trust: Cherry Mui <cherryyz@google.com>
|
|
the first change is related to: https://github.com/golang/go/issues/51449
Change-Id: I857d412a5082b142bb54d7fab685d298488376f9
GitHub-Last-Rev: e19bc97f9bfe5d64213af262a8c1d744cddedca8
GitHub-Pull-Request: golang/website#136
Reviewed-on: https://go-review.googlesource.com/c/website/+/389638
Reviewed-by: Michael Matloob <matloob@google.com>
Trust: Michael Matloob <matloob@google.com>
Trust: Ian Lance Taylor <iant@google.com>
|
|
Fixes golang/go#51372
Fixes golang/go#51871
Change-Id: I64580e1608b75cb4e6f0d39ccc43f432e0c2dfca
Reviewed-on: https://go-review.googlesource.com/c/website/+/394814
Reviewed-by: Ian Lance Taylor <iant@google.com>
Trust: Dmitri Shuralyov <dmitshur@google.com>
|
|
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>
|
|
Go 1.18 is released; these tutorials are now out of beta as well.
Fixes golang/go#51688
Change-Id: I5ded6c75f3131c97e3d2104146e0dff98dd7b1b0
Reviewed-on: https://go-review.googlesource.com/c/website/+/393215
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Trust: Eli Bendersky <eliben@google.com>
|
|
Change-Id: I0686121523da9b22666cfbad54821527ac5b8feb
Reviewed-on: https://go-review.googlesource.com/c/website/+/383854
Trust: Michael Matloob <michaelmatloob@gmail.com>
Trust: Bryan Mills <bcmills@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
|
|
"Add three rows with values" should be "Add four rows with values".
Change-Id: I82103908292faf95c1b6c62ca57d6f47b0249ccb
GitHub-Last-Rev: 2a0240372717014ccff4c511b71a43ba846db760
GitHub-Pull-Request: golang/website#126
Reviewed-on: https://go-review.googlesource.com/c/website/+/385594
Reviewed-by: DO NOT USE <iant@google.com>
Trust: Dmitri Shuralyov <dmitshur@google.com>
|
|
Fixes golang/go#50853
Change-Id: Ia09043435f23b979a2a0d198318096e6ecf52cb5
Reviewed-on: https://go-review.googlesource.com/c/website/+/381654
Reviewed-by: DO NOT USE <iant@google.com>
Trust: Cherry Mui <cherryyz@google.com>
|
|
Change-Id: I5648e2da0b708bf35e4406f4dcb49eabe01abf92
GitHub-Last-Rev: 009bc861a38bb5b8b180d11c1cfc569d17a00059
GitHub-Pull-Request: golang/website#122
Reviewed-on: https://go-review.googlesource.com/c/website/+/381917
Reviewed-by: DO NOT USE <iant@google.com>
Trust: Cherry Mui <cherryyz@google.com>
|
|
Following decision in golang/go#50792
Change-Id: I71d74b4b386aacef5319663c397479cac6feb32f
Reviewed-on: https://go-review.googlesource.com/c/website/+/383694
Reviewed-by: DO NOT USE <iant@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
|
|
Change-Id: I4278ae598a503d1e036371069f07a1be19e11a93
Reviewed-on: https://go-review.googlesource.com/c/website/+/381794
Run-TryBot: Katie Hockman <katie@golang.org>
Trust: DO NOT USE <katiehockman@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Julie Qiu <julieqiu@google.com>
|
|
main.go modified to import unicode/utf8 and errors packages, discard
returned error. Steps added to import packages and make changes in final steps.
Fixes golang/go#50628
Change-Id: I5dd5fb66256d56eb81bdbb16ba2d5a3fc1ee5dd4
Reviewed-on: https://go-review.googlesource.com/c/website/+/378477
Trust: Julie Qiu <julieqiu@google.com>
Trust: DO NOT USE <katiehockman@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
Reviewed-by: DO NOT USE <katiehockman@google.com>
|
|
The site is served at both go.dev and golang.google.cn.
In China, only golang.google.cn can serve, so we try to use
relative links to avoid pointing users to the copy they can't access.
Periodically we have to remove prefixes that have crept in.
This commit applies today's round of that.
Change-Id: Iaa169635664d0562a1cccc57c3e02b687b3493e7
Reviewed-on: https://go-review.googlesource.com/c/website/+/378597
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: DO NOT USE <katiehockman@google.com>
Trust: DO NOT USE <katiehockman@google.com>
|
|
Change-Id: I533a2bb17f0d0bd09a9372e9852ff50a6e0f9e6a
Reviewed-on: https://go-review.googlesource.com/c/website/+/378594
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Katie Hockman <katie@golang.org>
Trust: DO NOT USE <katiehockman@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
|
|
My memory and documentation I just looked up suggests the alias name
comes first, and the value second. Thanks to Hana for spotting this.
Change-Id: I981e49c5a9231c258606a8a7914ac9857923d903
Reviewed-on: https://go-review.googlesource.com/c/website/+/372055
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
|
|
This adds a tutorial introducing Go generics.
This change includes:
- A generics tutorial:
- _content/doc/tutorial/generics.md
- Updates to index topics so that they list the new content.
- _content/doc/index.html
- _content/doc/tutorial/index.html
Change-Id: I39abe0823c7d89dcb8ac89fcc1a2ab196a289614
Reviewed-on: https://go-review.googlesource.com/c/website/+/369614
Reviewed-by: Russ Cox <rsc@golang.org>
Trust: Michael Knyszek <mknyszek@google.com>
|
|
canceled
canceling
cancellation
Per https://go.dev/wiki/Spelling.
Change-Id: I3e719a9f07e64259e6bcf02c9d15939069176538
Reviewed-on: https://go-review.googlesource.com/c/website/+/369714
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
|
|
Now the tour is just /tour, not https://tour.golang.org.
Change-Id: Iebb2f7a5218b747896250815f4f46f62755e6a88
Reviewed-on: https://go-review.googlesource.com/c/website/+/365101
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|
|
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>
|
|
Add a standard 1rem margin above and below key block elements like h1, h2, ..., ol, ul, p.
Today it's very inconsistent and because you get a margin from either the block above
or below, it mostly works out, except in certain cases where text gets jammed together
a bit too much.
Add the auto-TOC generator for use in layouts that define #nav
(nothing yet, but golang.org-migrated pages will).
Add "Table of Contents" to the top of the TOC.
Allow pages to opt out of the TOC by setting HideTOC in their metadata.
Make subtitle heading (Version of Jan 1, 2021) line up horizontally with the TOC.
Preparation for the golang.org -> go.dev move.
Change-Id: Ic9121e5b636155c54e487bcb735ac0bc3f958733
Reviewed-on: https://go-review.googlesource.com/c/website/+/362502
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
|