Featured downloads on golang.org/dl use the latest Go release, which
is now Go 1.15. Per golang.org/doc/go1.15#darwin, Go 1.15 requires
macOS 10.12 Sierra or later.
For golang/go#23011.
Change-Id: I9e1fabe459d74bf59661d84e4b40d39d29ce2638
Reviewed-on: https://go-review.googlesource.com/c/website/+/234522
Reviewed-by: Carlos Amedee <carlos@golang.org>
Found with hunspell.
Change-Id: I5208cc9012df5f900848ef61c0ea915673efa307
Reviewed-on: https://go-review.googlesource.com/c/blog/+/247717
Reviewed-by: Ian Lance Taylor <iant@golang.org>
X-Blog-Commit: ec8acabe7d1bac2e45baad1c07a2905d56921df8
Previously, we used a separate <a> tag before the header. Headers had
temporary ids, and the table of contents linked to those. With this
change, the header elements themselves will have ids.
For golang/go#33637
Change-Id: Ia79048f0db7cc4e8eac3bb5641278acd354fca01
Reviewed-on: https://go-review.googlesource.com/c/website/+/244766
Reviewed-by: Michael Matloob <matloob@golang.org>
When indentation is used to create a code block immediately following
a list, Markdown syntax is ambiguous: it can be interpreted as another
text paragraph belonging to the last list entry, or as a standalone
code block.
The original behavior in CL 197637 made this unambiguously a code block
because the present format did not support lists. This changed when the
article was converted to use Markdown syntax in CL 222848.
Start using a fenced code block instead of indentation to resolve the
Markdown ambiguity and restore original behavior.
For golang/go#33955.
Change-Id: I9537bc72d7a32f90592942591b2688fb2f26c452
Reviewed-on: https://go-review.googlesource.com/c/blog/+/245017
Reviewed-by: Jean de Klerk <deklerk@google.com>
X-Blog-Commit: fb994f42d8394e948c3d58235828e9ed5f2f3077
For the first four articles in the module series, this CL replaces a
hyphen with an em dash before the link to the fifth article, consistent
with other links.
Change-Id: Id9c066079a1467ee432c0284b1692fade32709d1
Reviewed-on: https://go-review.googlesource.com/c/blog/+/244757
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jean de Klerk <deklerk@google.com>
X-Blog-Commit: d59e95f1479737b791e722c8372afe17cc012e9c
This change allows users to request golang.org/dl/?mode=json
via Cross-Origin Resource Sharing (CORS).
It also removes the golangorg build tag as it did not seem
necessary and adds tests for the “include” GET parameter.
Updates golang/go#29206Fixesgolang/go#40253
Change-Id: I5306a264c4ac2a6e6f49cfb53db01eef6b7f4473
Reviewed-on: https://go-review.googlesource.com/c/website/+/243118
Run-TryBot: Andrew Bonventre <andybons@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
They have been pre-announced¹.
Also update the release summary template to not point to the issue
tracker for future releases. The issue tracker is representative of
the final release content only for releases that have been completed.
¹ https://groups.google.com/d/msg/golang-announce/f2c5bqrGH_g/GnH6k56AAAAJ
Change-Id: I1b05a0d6ce3f3f05a441979f529d449a2f49465e
Reviewed-on: https://go-review.googlesource.com/c/website/+/242317
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Katie Hockman <katie@golang.org>
The /dl/{file} URLs have been supported for many years but not well
documented. Start using them on the /dl/ HTML page and document them,
so that it is clear that they can be reliably used in scripts or so.
This causes clients to have to make an extra HTTP request (which gets
redirected to the target location serving the file bytes), but compared
to the total work to download a Go file, this is negligible. Clients
that really want to skip the redirect can do so, but the trade-off is
that they need to update the URL if the CDN used for Go file downloads
happens to change. The /dl/{file} links are not expected to change for
Go 1.
Fixesgolang/go#38713.
Change-Id: I9df7d5b761baa6fa657c5dd2063c97b9b457367c
Reviewed-on: https://go-review.googlesource.com/c/website/+/238517
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
Also covers file path and size constraints.
For golang/go#33637
Change-Id: Ib5e7dd3d8cfc8d38f3f0322003128209cb54811e
Reviewed-on: https://go-review.googlesource.com/c/website/+/236567
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
This CL adds alt tags for the gopher images in docs, for better
accessibility. The HTML spec indicates that purely decorative images
have empty alt tags, hence, the empty alt tags here.
Fixesgolang/go#39861
Change-Id: I5761e5c6c0005a6974e96a21263605fbfe8f27fc
Reviewed-on: https://go-review.googlesource.com/c/website/+/240257
Reviewed-by: Alexander Nohe <alex.nohe427@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This change re-enables the /s/ link shortener admin interface,
running as its own App Engine service on the go111 runtime,
which still supports the “login: admin” option in app.yaml.
+ The golangorg build constraint on the internal/memcache and
internal/short packages is removed to allow easy import
+ A new function, AdminHandler is introduced in the short package
to allow for registering the handler outside of it
+ Some page cleanup to leverage modern HTML and JS capabilities,
obviating the need for jQuery, which has been removed
+ Clients for Redis and Cloud Datastore have been updated to
the latest versions
Fixesgolang/go#29988
Change-Id: If6ca75e85e16a7d86bb5dafcf08b27d2dc36f530
Reviewed-on: https://go-review.googlesource.com/c/website/+/238545
Run-TryBot: Andrew Bonventre <andybons@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Our publisher id is 'golang' and its display name is 'Go Team at Google'.
Change-Id: I161df5c478c8c97410871a9aa30ed09b11b4ac56
Reviewed-on: https://go-review.googlesource.com/c/blog/+/237259
Reviewed-by: Ian Cottrell <iancottrell@google.com>
X-Blog-Commit: 0004179c173f2f58455db1b505afefa529a0cc1f
The canonical path for this blog post is the short path /vscode-go,
determined from the file name. This change adds a secondary longer
path that redirects to the canonical short one, so that both links
can work at the time the blog post is published.
Change-Id: I8f0edf44536d22ef2fd8693aa5c6e82947a8c7a6
Reviewed-on: https://go-review.googlesource.com/c/blog/+/237165
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
X-Blog-Commit: 6d8d6d21bfd27e8a05fe6970a1d23fa47e8b7577
Prefer the https scheme in a link to provide
better security and skip a redirect.
Remove a redundant phrase to make a sentence flow better.
Change-Id: Iacfd06184a3769b719c52c19ae78a36d5aaa9f5a
Reviewed-on: https://go-review.googlesource.com/c/blog/+/237163
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
X-Blog-Commit: 1d697d5c9b654ae37f1057735c0a5320c50e2269
Change-Id: I7db3ffac6eeddf3da81538ac40537ecd71ed03b8
Reviewed-on: https://go-review.googlesource.com/c/blog/+/237018
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Steve Francia <spf@golang.org>
X-Blog-Commit: ea4c6a992212bf79dc5ec00a53035debabda779b