commit | f4f7323ce33b981fc432280c05fddbabd6274c74 | [log] [tgz] |
---|---|---|
author | Jamal Carvalho <jamal@golang.org> | Thu Jan 06 20:48:14 2022 +0000 |
committer | Jamal Carvalho <jamalcarvalho@google.com> | Thu Jan 06 23:48:15 2022 +0000 |
tree | 7ac90005d4642c20657cd5dcbfa9d3b7ec963561 | |
parent | e63aea0cc533a503e0fe1d8aae1ba7aff458bdae [diff] |
website: typescript config updates - Added tsconfig file. - Set esbuild target. - Updated eslint rules for JSDoc. Change-Id: I212bdd58a56540da26cccc8af319a8d98fa9f35a Reviewed-on: https://go-review.googlesource.com/c/website/+/376074 Trust: Jamal Carvalho <jamalcarvalho@google.com> Reviewed-by: Alex Rakoczy <alex@golang.org>
This repo holds content and serving programs for the go.dev and golang.org web sites.
Content is in _content/ (go.dev) and tour/ (go.dev/tour). Server code is in cmd/ and internal/.
To run the combined go.dev+golang.org server to preview local content changes, use:
go run ./cmd/golangorg
The supporting programs cmd/admingolangorg and cmd/googlegolangorg are the servers for admin.golang.org and google.golang.org. (They do not use the _content/ directories.)
Each command directory has its own README.md explaining deployment.
This repository uses prettier to format JS and CSS files.
See also:
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.
Each time a CL is reviewed and submitted, the code is deployed to App Engine. See cmd/golangorg/README.md for details.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
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.