commit | 5fcfc44508534eb42ad9031eb86a51daf0d73950 | [log] [tgz] |
---|---|---|
author | Daniel Frederick Crisman <daniel@crisman.org> | Wed Apr 12 17:08:14 2023 +0000 |
committer | Gopher Robot <gobot@golang.org> | Wed Apr 12 19:35:30 2023 +0000 |
tree | d0a3201cfb5c44fa5d044dbd706c37efe05b391a | |
parent | cd8568966a0d13b7a1118947f8e5cf91bb519fdf [diff] |
_content/doc: remove second extra < in HTML Commit 18b7f5b1d41 from last week, updated the release notes for 1.19 and 1.20 which included a copy/paste HTML formatting error, fixing the second place here. Also verified these were the only two places in website that got this typo. The comment version of this in go repo is not HTML formatted, so no typo. Typo from an update last week, remove an second extra '<'. Updates golang/go#59534 Change-Id: I343c48f143bbeae14dbd0e589eaa531baa580f9d GitHub-Last-Rev: f0a55b2ae7a2e379cf9807c5b8c2a9cba1443485 GitHub-Pull-Request: golang/website#221 Reviewed-on: https://go-review.googlesource.com/c/website/+/483977 Reviewed-by: Michael Knyszek <mknyszek@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
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 eslint to format JS and TS files, and stylelint to format CSS files.
See also:
It is encouraged that all JS, TS, and CSS code be run through formatters before submitting a change. However, it is not a strict requirement enforced by CI.
./npm install
./npx eslint [options] [file] [dir]
./npx stylelint [input] [options]
TypeScript files served from _content are transformed into JavaScript. Reference .ts files in html templates as module code.
<script type="module" src="/ts/filename.ts">
Write unit tests for TypeScript code using the jest testing framework.
./npx jest [TestPathPattern]
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.