content: update README

The README does not mention that files that are newly added to
the content directory need to be added manually to static/gen.go
file before running go generate. This change fixes that.

Update the description of how the static content is used in concert
with the content from the main Go repository in more detail.

Replace go install && ./golangorg with go run, since it's shorter.

Add a TODO note mentioning improvements that can be made in the near
future to simplify this process.

Updates golang/go#29206

Change-Id: I8a85bcb783c7c10975aa6fd5a7ad464f05d42dd2
Reviewed-on: https://go-review.googlesource.com/c/website/+/207262
Reviewed-by: Andrew Bonventre <andybons@golang.org>
1 file changed
tree: ec390be99c74265f67ab12959fd43053eeb2ec95
  1. AUTHORS
  2. CONTRIBUTING.md
  3. CONTRIBUTORS
  4. LICENSE
  5. PATENTS
  6. README.md
  7. cmd/
  8. codereview.cfg
  9. content/
  10. favicon.ico
  11. go.mod
  12. go.sum
  13. internal/
  14. robots.txt
README.md

Go Website

This repository holds the Go Website server code and content.

Download/Install

The easiest way to install is to run go get -u golang.org/x/website. You can also manually git clone the repository to $GOPATH/src/golang.org/x/website.

Report Issues / Send Patches

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.