commit | e7b262c538518b210432d76bce99d358c72cead3 | [log] [tgz] |
---|---|---|
author | Baokun Lee <bk@golangcn.org> | Mon Feb 01 10:25:15 2021 +0800 |
committer | Dmitri Shuralyov <dmitshur@golang.org> | Wed Feb 10 19:07:07 2021 +0000 |
tree | 387b333a3ce443803b5300ce97fb3b7953118d62 | |
parent | c34a3f04ddceaf7d1274b2c35a2936be0b5c3b10 [diff] |
content: improve getting started document Improve the guidance document to adapt to the Go 1.16. Fixes golang/go#43672 Change-Id: I443540591d032e05dbec951e2a4995f6dbc2bc77 Reviewed-on: https://go-review.googlesource.com/c/website/+/288277 Run-TryBot: Baokun Lee <bk@golangcn.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Trust: Baokun Lee <bk@golangcn.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.