commit | aefff79d071efcd38761d4c1a722e42087b94856 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Fri Feb 12 14:29:00 2021 -0500 |
committer | Russ Cox <rsc@golang.org> | Tue Feb 16 02:04:16 2021 +0000 |
tree | 599f82445a3675306416fa4943f62cd39751c07b | |
parent | 546f845b33ddc46ed8256fd006a595086087cb52 [diff] |
content/static: use embed and io/fs This lets us delete the generated static.go. For golang/go#41102 Change-Id: Ie09f34a83f114592eec4ba2dd9263285169374ae Reviewed-on: https://go-review.googlesource.com/c/website/+/291690 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@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.