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

245 Коммитов

Автор SHA1 Сообщение Дата
Alexander Rakoczy 25de62c822 content/static/doc: document Go 1.13.8 and Go 1.12.17
Change-Id: Iaab4f8db188712bb78bc4b4e9c48898f798ad188
Reviewed-on: https://go-review.googlesource.com/c/website/+/219201
Run-TryBot: Alexander Rakoczy <alex@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
2020-02-12 23:35:05 +00:00
Jay Conrod b359b60a40 content/static/doc: copy doc/modules.md from GOROOT
Moved doc/modules.md from GOROOT to content/static/doc/modules.md.
Last updated in CL 214381. The corresponding deletion is CL 218240.

This documentation should be tied to the release, so it ought to be in
GOROOT. However, it won't be ready in time for Go 1.14, and we don't
want to wait until 1.15 to publish it.

Updates golang/go#33637

Change-Id: Ia7e59a74a764131cb1ae059b9f55a1dfc9fc9c9f
Reviewed-on: https://go-review.googlesource.com/c/website/+/218239
Reviewed-by: Bryan C. Mills <bcmills@google.com>
2020-02-07 19:12:25 +00:00
Bryan C. Mills 60ca7b88d9 content/static/doc: escape template brackets in code.html
I forgot to escape them in CL 217877, and the TryBots don't currently
catch template errors in HTML docs.

Updates golang/go#37042
Updates golang/go#37072

Change-Id: Ia7b82a9c9b85914f224c04050bfbe3747d5a3acc
Reviewed-on: https://go-review.googlesource.com/c/website/+/218217
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2020-02-06 17:26:19 +00:00
Bryan C. Mills 0aa29fe232 content/static/doc: replace github.com with example.com in code.html
GitHub is remarkably permissive about usernames: 'github.com/user' is
an actual user, as is 'github.com/example'. We should not use those
paths, since those would make it easy to accidentally download remote
source code due to a typo.

In contrast, example.com is at least reserved by the IANA.

Change-Id: Iede134be4071434c47788e6dd8829cb78277a905
Reviewed-on: https://go-review.googlesource.com/c/website/+/217878
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
2020-02-06 16:20:56 +00:00
Bryan C. Mills 1b9d4c8a4d content/static/doc: describe GOPATH, 'go clean', and 'go env -u'
Plus some additional minor cleanup:

- Set PATH using a command that does not depend on GOBIN or GOPATH
  being set.

- Remove unusual whitespace from example output.

- Add Go 1.14 'go install' output to help clarify what happens when we
  need to download a module.

Updates golang/go#37042

Change-Id: I1bfb4ba38ccefa2b95be309dd465e3523895c1b6
Reviewed-on: https://go-review.googlesource.com/c/website/+/217877
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
2020-02-06 16:20:27 +00:00
Filippo Valsorda d0b4462f2c content/static/doc: reference tags not branches in release.html
The whole page lists version tags, and we shouldn't be instructing users
to checkout branches that might be ahead of any released version.

Updates golang/go#36873

Change-Id: I832eab94819adf19a480d58e8889663958dac921
Reviewed-on: https://go-review.googlesource.com/c/website/+/217102
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2020-01-31 23:33:19 +00:00
Katie Hockman a13f6823f7 content/static/doc: update Go 1.13.7 and Go 1.12.16 security releases
Change-Id: Icae28675947858335edc1c50f4515965cf1dd10b
Reviewed-on: https://go-review.googlesource.com/c/website/+/216678
Run-TryBot: Katie Hockman <katie@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2020-01-28 17:52:20 +00:00
Katie Hockman dce746072e content/static/doc: clarify Go 1.13.7 and Go 1.12.16 security releases
Change-Id: Iead5c3113307a2fa17fad45890aca6d11666eaf2
Reviewed-on: https://go-review.googlesource.com/c/website/+/216377
Run-TryBot: Katie Hockman <katie@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
2020-01-24 19:37:37 +00:00
Katie Hockman dccd17c24b content/static/doc: document Go 1.13.7 and Go 1.12.16 security releases
Change-Id: I552d4b58f83eea587c3c13788bb2e389b4086395
Reviewed-on: https://go-review.googlesource.com/c/website/+/216157
Run-TryBot: Katie Hockman <katie@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2020-01-23 22:12:21 +00:00
Jay Conrod 0347b42d2f content/static/doc: remove mention of modules from gopath_code.html
Follow-up to CL CL 199417, which accidentally mixed in wording
from code.html.

Change-Id: Id91f036fc9072a9f19e61cc6aca0c27e1452ef92
Reviewed-on: https://go-review.googlesource.com/c/website/+/214283
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2020-01-10 18:11:36 +00:00
Carlos Amedee 7a34714f2f content/static/doc: document Go 1.13.6 and Go 1.12.15
Change-Id: I1e5182d2f286da71d58b9820a2143aa6bbd27f45
Reviewed-on: https://go-review.googlesource.com/c/website/+/214097
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2020-01-09 21:25:30 +00:00
Jay Conrod 5fccce9b1d content/static: update description of "How to Write Go Code"
Removed the link to the screencast, since it's out of date.
Also mentioned modules.

Change-Id: I8321ced0e716ad2ed914d97d70eaf6c61f77872f
Reviewed-on: https://go-review.googlesource.com/c/website/+/214157
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2020-01-09 20:36:22 +00:00
Dmitri Shuralyov 090331c5ab content/static: add gopath_code.html file and regenerate
CL 199417 added a new doc/gopath_code.html file. This change adds
it to the list of files that are embedded in package static, and
regenerates the package.

A change described in https://golang.org/issue/29206#issuecomment-536099768
will make it no longer neccessary to do this step in the future.

Updates golang/go#28215
Updates golang/go#29206

Change-Id: Ia1bd125488e04b34f9b8e36de4397de32d77bcef
Reviewed-on: https://go-review.googlesource.com/c/website/+/213937
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
2020-01-09 18:52:58 +00:00
Jean de Klerk 6bbbfe725f content/static/doc: rewrite code.html for go modules
Fixes golang/go#28215

Change-Id: I4be63c2408bb117c6ee2d3a02327f6d277d35828
Reviewed-on: https://go-review.googlesource.com/c/website/+/199417
Run-TryBot: Jean de Klerk <deklerk@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
2020-01-08 20:24:59 +00:00
Dmitri Shuralyov eea9a1a6a7 cmd/golangorg: update deploy instructions
Increase the separation between each step by giving them explicit
numbers. Expand on some of the deploy steps with more detail.

Update the default value of GO_REF to the current Go release branch
version. This way, it doesn't need to be overridden for each deploy.

Update references to the README.md file (it was recently renamed from
README.golangorg-app in CL 207438).

Change-Id: Ie34fed44a990a5c7ffe2acad68fd5c0f094f9143
Reviewed-on: https://go-review.googlesource.com/c/website/+/212239
Reviewed-by: Carlos Amedee <carlos@golang.org>
2020-01-03 21:34:28 +00:00
Dmitri Shuralyov 058dd16452 content/static: generate constant 2019 copyright year
The generated static.go file was created in 2019 in CL 156321, and
it inherited the generator code from x/tools that uses today's year.
There isn't a need to update the copyright year, so make it a constant.

This change fixes the failing TestStaticIsUpToDate test in 2020,
and prevents it from breaking in every future year.

Fixes golang/go#36360
Updates golang/go#11811

Change-Id: Ie87b1219448f1e288539f95280492b4f95b76798
Reviewed-on: https://go-review.googlesource.com/c/website/+/213121
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-01-02 19:52:14 +00:00
Dmitri Shuralyov 3c8b7f99ca content/static/doc: copy Go Security Policy page from Go repo
The Go Security Policy page is copied from Go master as of 2019/12/13
(commit golang/go@0497f911ac, CL 211177).

This page not closely tied to specific Go releases, and thus is better
suited to live in the x/website repo.

Updates golang/go#29206

Change-Id: Ib23fa6ccd11218d5da231cca685f62e610d5c6c9
Reviewed-on: https://go-review.googlesource.com/c/website/+/211300
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
2019-12-16 20:37:39 +00:00
Brad Fitzpatrick 12a8390500 cmd/golangorg: remove duplicate list of repo names from the /x/ handler
Also, add tests.

This also removes the golang.org/x/codereview redirect because
code.google.com and our Mercurial repository are long dead.

Updates golang/go#36047

Change-Id: I0aacbe5a963b0edeea2dd2f1b2e2ad6a2f1f7319
Reviewed-on: https://go-review.googlesource.com/c/website/+/210744
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-12-13 22:53:24 +00:00
Dmitri Shuralyov 9aef1eefbb content/static/doc: copy Release History pages from Go repo
The Release History, Pre-Go 1 Release History, and Weekly Snapshot
History pages are copied from Go master as of 2019/12/10 (commit
golang/go@931fe39400, CL 210717).

Updates golang/go#36075
Updates golang/go#29206

Change-Id: I24d24d6346405df2d3d657ea2b4aa049182d5141
Reviewed-on: https://go-review.googlesource.com/c/website/+/210797
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2019-12-11 00:28:24 +00:00
Carlos Amedee 61b2c84e66 internal/dl: add amedee to validUser
Change-Id: I12b6e39b4645d0113a0c13dbd2abcf5e6108cae1
Reviewed-on: https://go-review.googlesource.com/c/website/+/209997
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Run-TryBot: Alexander Rakoczy <alex@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-12-04 22:47:21 +00:00
Jay Conrod e83629ecc1 content/static/doc: link "v2 and beyond" blog post
Change-Id: I32b7c0f94c07d38bacdd71ed721599b90b0a2c6a
Reviewed-on: https://go-review.googlesource.com/c/website/+/209038
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jean de Klerk <deklerk@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-11-27 16:26:00 +00:00
Dmitri Shuralyov 72128c4949 content/static: re-add "or" function call to package.html template
It was removed unintentionally in CL 101295, where the intention was
to remove the (eq $.Dirname "/src") condition.

Fixes golang/go#35812

Change-Id: I45f5c9cf28f3c6cddebe282f230a79019ac4d8bb
Reviewed-on: https://go-review.googlesource.com/c/website/+/208757
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Agniva De Sarker <agniva.quicksilver@gmail.com>
2019-11-26 06:02:35 +00:00
Alexander Neumann 3d1bfa15a5 internal/dl: redirect to downloadBaseURL for GPG signatures
Fixes golang/go#35717

Change-Id: I6d063fb1d6c33b60a7bcf34cda832011a2fc120d
GitHub-Last-Rev: 9706ecb20d
GitHub-Pull-Request: golang/website#6
Reviewed-on: https://go-review.googlesource.com/c/website/+/208158
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-11-20 20:07:18 +00:00
Russ Cox c0a416a8e8 cmd/golangorg: update README
Make the README cover local non-production mode too,
update file name to match, and convert to markdown.

Change-Id: I7e3c86bf4ae2a3aeaed2dd2e3134747a275a006b
Reviewed-on: https://go-review.googlesource.com/c/website/+/207438
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-11-18 17:23:35 +00:00
Russ Cox 99763cba2e static/doc: copy Code of Conduct, static/doc/conduct.html, from Go repo
The Code of Conduct is copied from Go master as of Nov 15 2019 (9b68ef81e606)
with a change to update the Project Stewards (now Carmen Andoh and Van Riper),
and no other changes.

This CL also updates static/gen.go to include this file
and regenerated static/static.go.

Change-Id: Ic639b821031f2ad41727728b3dc3b5b69e6d5265
Reviewed-on: https://go-review.googlesource.com/c/website/+/207437
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-11-15 21:09:41 +00:00
Dmitri Shuralyov fd4520205a content: update README
The README does not mention that files that are newly added to
the content directory need to be added manually to static/gen.go
file before running go generate. This change fixes that.

Update the description of how the static content is used in concert
with the content from the main Go repository in more detail.

Replace go install && ./golangorg with go run, since it's shorter.

Add a TODO note mentioning improvements that can be made in the near
future to simplify this process.

Updates golang/go#29206

Change-Id: I8a85bcb783c7c10975aa6fd5a7ad464f05d42dd2
Reviewed-on: https://go-review.googlesource.com/c/website/+/207262
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-11-15 17:31:10 +00:00
Andrew Bonventre 7323790c7f content/static/doc: update video link to original version
The current talk is a cut-copy of the original dotGo talk
from 2015. Fix the link to point to the original recording.

Fixes golang/go#35171

Change-Id: I9b0bf914672ffc202a5bbe277c7329dfb8bdd749
Reviewed-on: https://go-review.googlesource.com/c/website/+/203825
Run-TryBot: Andrew Bonventre <andybons@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2019-10-28 21:36:46 +00:00
Rohan Verma 9a9f6e6197 content/static/doc: gofmt hello world code
Updates golang/go#35099

Change-Id: I7f95871e039ed2796a3a776b311ac1d76516d4a4
GitHub-Last-Rev: 213cea2f5f
GitHub-Pull-Request: golang/website#4
Reviewed-on: https://go-review.googlesource.com/c/website/+/202824
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-10-23 21:51:33 +00:00
Dmitri Shuralyov c6c84f4e11 cmd/golangorg: migrate from legacy to split health checks
For now, continue to use the existing /_ah/health HTTP endpoint
for both the liveness and readiness checks. This is simple and
close to the previous legacy health check behavior. In the future,
we can consider making the readiness check more sophisticated.

This change should make golangorg deployable again after the
deprecation of legacy health checks.¹

¹ https://cloud.google.com/appengine/docs/flexible/go/migrating-to-split-health-checks

Change-Id: Ia68d3b260dd3a5b66f969318a04b8f97639701d6
Reviewed-on: https://go-review.googlesource.com/c/website/+/201743
Reviewed-by: Katie Hockman <katie@golang.org>
2019-10-17 22:01:48 +00:00
Jean de Klerk 55955d3c07 content/static/doc: add code.html
See deletion CL here: https://golang.org/cl/199057

Updates golang/go#33637
Updates golang/go#29206

Change-Id: I992a6f3222b6327927578111ad71bdf3653adf78
Reviewed-on: https://go-review.googlesource.com/c/website/+/199058
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-10-04 20:09:37 +00:00
Jean de Klerk 0f2165bae3 cmd/golangorg: provide an example in -template help message
Change-Id: I33ad64c9202e95e5e1296cb1c5fadb7353bbac86
Reviewed-on: https://go-review.googlesource.com/c/website/+/199059
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-10-04 19:57:54 +00:00
Jay Conrod 62992fdc34 content/static/doc: link module blog posts from golang.org/doc
Updates golang/go#33637

Change-Id: I37c81d2358c9b2c7ae11939b3884acea2612ff7d
Reviewed-on: https://go-review.googlesource.com/c/website/+/197640
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-09-30 22:44:16 +00:00
Jay Conrod efeb14978e cmd/golangorg, content: serve /doc from content/static/doc before GOROOT/doc
In the "/doc" directory, files are now served from the
content/static/doc, then from GOROOT/doc (where GOROOT is either a zip
file or the GOROOT directory).

This allows documentation to be moved to golang.org outside of the
normal Go release cycle. For example, this CL moves (but does not
modify) doc/docs.html here. Documentation that is tied to the Go
release cycle (for example, doc/spec.html) will not be moved.

Updates golang/go#33637
Updates golang/go#29206

Change-Id: I5f1c577e0ffddc3418653bdd9b0cc36cf79e3fe1
Reviewed-on: https://go-review.googlesource.com/c/website/+/197638
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2019-09-30 22:43:31 +00:00
Dmitri Shuralyov 07c3481f1c cmd/golangorg: remove -url flag
The -url flag is unused. It had relatively niche
use-cases and was mostly a relic from cmd/godoc.

It's also completely non-functional due to a few bugs and
the fact CL 162907 hasn't been backported to x/website.

Instead of fixing it and adding tests, remove it.
If it becomes needed in the future, it can be re-added.

Update golang/go#29206

Change-Id: I4a460f460a757c78c3e26d7c97556c623c8dbed4
Reviewed-on: https://go-review.googlesource.com/c/website/+/197722
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-09-30 15:46:28 +00:00
Dmitri Shuralyov 42bb7571a1 cmd/golangorg: re-add documentation for flat presentation mode
The documentation of the "flat" presentation mode was removed
inadvertently as part of post-CLI-removal documentation cleanup
in CL 143077. The FlatDir flag still exists and is supported.
This change re-adds it to cmd/golangorg documentation.

Also fix a typo in the "src" presentation mode description.

(This is a re-apply of CL 162984 into x/website.)

Updates golang/go#25443
Updates golang/go#29206

Change-Id: I84145bf38f008678a8d8f3d3346f646aa7811886
Reviewed-on: https://go-review.googlesource.com/c/website/+/197721
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-09-30 15:39:45 +00:00
Dmitri Shuralyov a0f360c43d cmd/golangorg: remove autocert support
It was unused and incomplete.

It was potentially needed a while ago, back when the golang.org
website was running on a different Google Cloud Platform service.

It's not needed now, and can be re-added in the future
if it becomes needed again.

Change-Id: Id52945adf18b1e34f411f9a2eef6bd21889c6c1a
Reviewed-on: https://go-review.googlesource.com/c/website/+/197957
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-09-30 15:39:20 +00:00
Dmitri Shuralyov a9a9c92a2c cmd/golangorg: change tab width from 8 to 4 in production
Remove the override, use the default godoc.Presentation value of 4.
This increases consistency across various Go websites, and reduces
the amount of blank horizontal space use.

Fixes golang/go#34448

Change-Id: Ie3e40f13e6275e74e79c46bbc242d4e5ad95ffda
Reviewed-on: https://go-review.googlesource.com/c/website/+/196937
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-09-23 17:41:45 +00:00
Spencer Kocot 9a22596c54 x/website: add css to style doc/install download button
Adds css that was mistakenly removed to style the download
button properly at golang.org/doc/install

Fixes golang/go#34185

Change-Id: I01c70230a9e8c3d79a9aec83e1b5d8bad011e276
Reviewed-on: https://go-review.googlesource.com/c/website/+/195519
Run-TryBot: Andrew Bonventre <andybons@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-09-20 20:32:19 +00:00
Oliver Powell 858a82ef7a content/static: prevent page breaks inside code blocks when printing
Fixes golang/go#33933

Change-Id: Ia5b140f7cc452a9fd5e4eea4ab6fe2465d1444b4
Reviewed-on: https://go-review.googlesource.com/c/website/+/192418
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-09-20 14:18:51 +00:00
Bryan C. Mills 00e97558e1 all: upgrade dependencies on google.golang.org/api and go.opencensus.io
The older versions impose transitive dependencies on
git.apache.org/thrift.git, which has since been removed.

Commands run:

	go get -d google.golang.org/api go.opencensus.io
	go mod tidy
	go test ./...

Updates golang/go#34016

Change-Id: I32f4926cac55d630febd9d4a4412eeb99ed9878e
Reviewed-on: https://go-review.googlesource.com/c/website/+/193039
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-09-03 19:23:46 +00:00
Wagner Riffel a744e31f9c cmd/golangorg: rewrite reference to plan9.bell-labs.com to 9p.io
Change-Id: Ib8253a4f910908fb45829b6443e87248a1ba20b4
Reviewed-on: https://go-review.googlesource.com/c/website/+/192817
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2019-09-03 15:38:57 +00:00
Bryan C. Mills 6a9ae81949 go.mod: add go version directive
(I mostly just wanted to make a trivial change to this repo to clear
out the failure cells for misconfigured builders on the landing page
of https://build.golang.org.)

Updates golang/go#31567

Change-Id: I2d779a143c711e86fb2f34451d7398d3514623ae
Reviewed-on: https://go-review.googlesource.com/c/website/+/192559
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2019-08-30 19:22:50 +00:00
Bryan C. Mills 86c029248e cmd/golangorg: skip tests that require godoc when the 'go' binary is not available to build it
Fixes golang/go#33946

Change-Id: Ib4d14a3acad1c610e4c07dcff1a56757cd9492c8
Reviewed-on: https://go-review.googlesource.com/c/website/+/192329
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2019-08-29 18:10:42 +00:00
Andrew Bonventre d2d6abcea4 internal/dl: update webfonts and footer to match base template
Fixes golang/go#33799

Change-Id: I186215068621fd918ee32380fdc7dee4bbd49644
Reviewed-on: https://go-review.googlesource.com/c/website/+/191622
Run-TryBot: Andrew Bonventre <andybons@golang.org>
Reviewed-by: Katie Hockman <katie@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-08-23 20:12:32 +00:00
Andrew Bonventre 5f7150705a cmd/googlegolangorg: add GAE app that serves google.golang.org
This code was originally in Google's internal repo, but there's
no good reason for it to stay there.

Change-Id: Id2cd2b2bb3691a14182a02e01c40005652106402
Reviewed-on: https://go-review.googlesource.com/c/website/+/191160
Reviewed-by: Katie Hockman <katie@golang.org>
2019-08-22 16:35:27 +00:00
Andrew Bonventre 75aa3f8b85 content/status: account for vertical scrollbar in nav breakpoint
Fixes golang/go#33652

Change-Id: Ibcc6a6f29ef3deb1b93ea89be3e282df6e82c391
Reviewed-on: https://go-review.googlesource.com/c/website/+/190413
Run-TryBot: Andrew Bonventre <andybons@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alexander Rakoczy <alex@golang.org>
2019-08-15 20:24:19 +00:00
Andrew Bonventre d43297f9a0 content/static: apply various stylistic fixes
+ Adjust the breakpoint in the header nav so that the text
  doesn't overflow at certain widths
+ Change h1-h4 elements to be Work Sans
+ Add a top margin to the footer to give it more space

Fixes golang/go#33638
Fixes golang/go#33652

Change-Id: I60567a6edbb3ddc42333b646b5127d8c328d3712
Reviewed-on: https://go-review.googlesource.com/c/website/+/190408
Reviewed-by: Alexander Rakoczy <alex@golang.org>
Run-TryBot: Andrew Bonventre <andybons@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-08-15 19:49:01 +00:00
Andrew Bonventre 86a7442ada internal/dl: update minimum macOS version to 10.11
Per golang.org/doc/go1.12#darwin, 10.10 is no longer supported in
Go 1.13.

Change-Id: Id49055398f35791573caf6c5956177481670059a
Reviewed-on: https://go-review.googlesource.com/c/website/+/189617
Run-TryBot: Andrew Bonventre <andybons@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
2019-08-09 15:33:40 +00:00
Andrew Bonventre 36703a14eb content/static: update static.go
I forgot to account for changes made in
4f47846230

Change-Id: If4c28726d77a7458b2697a1581e0077dffc5da1d
Reviewed-on: https://go-review.googlesource.com/c/website/+/189319
Run-TryBot: Andrew Bonventre <andybons@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-08-07 16:51:53 +00:00
Andrew Bonventre 4f47846230 content/static: update footer styling
+ Updates styling to accomodate smaller viewports
+ Adds “Supported by” as a preface to the Google logo
+ Pulls in Roboto and Product Sans from Google Fonts

Fixes golang/go#33164
Fixes golang/go#33100

Change-Id: I43a8bfad05e67301a055ab91751f3868ef899210
Reviewed-on: https://go-review.googlesource.com/c/website/+/188983
Reviewed-by: Katie Hockman <katie@golang.org>
2019-08-07 16:42:15 +00:00