commit | 7343e33726f9a31ee8fb0b247243c21870ed7e16 | [log] [tgz] |
---|---|---|
author | Li-Yu Yu <aaronyu@google.com> | Mon Aug 23 09:10:33 2021 +0800 |
committer | Jamal Carvalho <jamal@golang.org> | Mon Sep 20 13:40:05 2021 +0000 |
tree | 087a2a2286e35a2ff8b4d3cf8f07f6326bc1b3c3 | |
parent | 1fe7e470bf50459571fe30bf268c4826fd877bd8 [diff] |
_content, go.dev: fix hamburger menu Follow up on https://golang.org/cl/343469. Use different classes for the hamburger menu to set event listeners on golang.org & go.dev to avoid (mis-)listing the paths. Fixes golang/go#47862. Change-Id: I4bbf856cd86583bea402b1869583e90799a7d1f9 Reviewed-on: https://go-review.googlesource.com/c/website/+/344309 Trust: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org> Run-TryBot: Jamal Carvalho <jamal@golang.org> TryBot-Result: Go Bot <gobot@golang.org>
This repo holds content and serving programs for the golang.org and go.dev web sites.
Content is in _content/ (golang.org), go.dev/_content/ (go.dev), and tour/ (tour.golang.org). Server code is in cmd/ and internal/.
To run the combined golang.org+go.dev 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.
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.