commit | 188ab899f1b17e8fc3cef81b91b64eb7abbfbe3a | [log] [tgz] |
---|---|---|
author | zhouzhongyuan <zhouzhongyuan96@gmail.com> | Tue Sep 01 19:08:58 2020 +0800 |
committer | Steve Traut <straut@google.com> | Wed Sep 02 14:34:28 2020 +0000 |
tree | 964863a892003af8c4d8e80c9f2db4b18589962e | |
parent | 1ce20206c4c394896c8e4c367ab64e4eb0d79138 [diff] |
content/static/doc: fix errors for tutorial pages Fix some errors, print "message" instead of "greeting" on tutorials/call-module-code page, bold the new code on tutorial/handle-errors page, indent comments to align on tutorial/create-module page. Fixes golang/go#41150. Change-Id: I9d0415c67767b11d2a1d008b2f8af70b7e9691da Reviewed-on: https://go-review.googlesource.com/c/website/+/252077 TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Steve Traut <straut@google.com>
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.