commit | 4f399ec422329d95deaef13626af48c2bde601ee | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Thu Aug 27 16:34:57 2020 -0400 |
committer | Russ Cox <rsc@golang.org> | Fri Aug 28 16:03:04 2020 +0000 |
tree | 10df9ccc7917792da68e0f5f6e504e1844d355e0 | |
parent | b323e4642743f0c087c833b2a2fecd8f6de9e127 [diff] |
website: update README.md Update README.md to explain how to make basic content changes, with a link to the content/README.md for advanced things. Fixes golang/go#39687. Change-Id: Ie2a603422f4c7057ffdab71f434b60f53e99a828 Reviewed-on: https://go-review.googlesource.com/c/website/+/251121 Run-TryBot: Russ Cox <rsc@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.