commit | 1007538d29cef3a804115d178cdb7db5949a38c2 | [log] [tgz] |
---|---|---|
author | Jamal Carvalho <jamal@golang.org> | Mon Jan 25 14:54:38 2021 -0500 |
committer | Jamal Carvalho <jamal@golang.org> | Mon Jan 25 20:53:07 2021 +0000 |
tree | ad277cd9cf4f9172b4efc71f934cf43846d2b784 | |
parent | d8c361e54dd746303950a4594cbb2a7219cd6ee4 [diff] |
internal/dl: add HaTS to golang.org downloads page Adds a script to trigger HaTS on the download page in an effort to track developer happiness with the core Go distribution. Uses the same bucketing and rate limiting logic as go.dev and pkg.go.dev. Change-Id: I73cdb4577eaf71a77f09b94965e12871296a6699 Reviewed-on: https://go-review.googlesource.com/c/website/+/286293 Trust: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Julie Qiu <julie@golang.org>
This repository holds the Go website server code and content.
To download and run the golang.org web server locally:
git clone https://go.googlesource.com/website
cd website
go run ./cmd/golangorg
See cmd/golangorg/README.md for more details.
To make basic changes to the golang.org website content:
content/static
directory.go run ./cmd/golangorg
.go generate ./content/static
go run ./cmd/golangorg
See content/README.md for more sophisticated instructions.
This repository uses prettier to format JS and CSS files.
The version of prettier
used is 1.18.2.
It is encouraged that all JS and CSS code be run through this before submitting a change. However, it is not a strict requirement enforced by CI.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the website repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/website:” in the subject line, so it is easy to find.