commit | dec9db9ed0afec9f6d31b6f1cf1fd978f65a4820 | [log] [tgz] |
---|---|---|
author | Andrew Bonventre <andybons@golang.org> | Thu May 21 16:43:46 2020 -0400 |
committer | Andrew Bonventre <andybons@google.com> | Tue May 26 17:03:21 2020 +0000 |
tree | 0f9581e218ed95e00022d7853e77adcbcc2e152c | |
parent | 9a1fb33cac3b609fea1bcc2ec5ddd5d467d30fd8 [diff] |
content/static: rearrange loading order of scripts plus cleanup + Load all JavaScript files at the end of the page so that DOM parsing won’t be blocked by script execution. + Extract out Google Tag Manager script tag and place init logic in a separate file instead of using an inscrutable, minified inline script. + Add the JavaScript compilation script. + Update license headers to have a range so that multiple licenses are not included in the minified source when only the date is different. + Update the prettier config to avoid arrow parentheses unless they are needed to match existing style. Change-Id: I7331ee7fab04eb2ff45b5f59928b3e5817d35813 Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/752822 CI-Result: Cloud Build <devtools-proctor-result-processor@system.gserviceaccount.com> Reviewed-by: Julie Qiu <julieqiu@google.com> Reviewed-by: Alexander Rakoczy <rakoczy@google.com>
Pkg.go.dev is a website for discovering and evaluting Go packages and modules.
Pkg.go.dev launched in November 2019, and is currently under active development by the Go team.
Our current goal is to work on addressing the UX feedback we have received. You can expect pkg.go.dev to be slated for some design changes coming soon. We plan to share these designs for feedback with everyone once they are ready.
Longer term, we are working towards redirecting godoc.org traffic to pkg.go.dev. We want to ensure that we address users' needs in the process. Read more about our next steps for pkg.go.dev. Issues related to redirecting godoc.org traffic are being tracked in Go issue #39144. We plan to address these issues before redirecting traffic from godoc.org to pkg.go.dev.
We encourage everyone to begin using pkg.go.dev today for all of their needs and file feedback! You can redirect all of your requests from godoc.org to pkg.go.dev, by clicking Always use pkg.go.dev
at the top of any page on godoc.org.
If you are having issues with pkg.go.dev, please first check the known issues before following the troubleshooting guide. If that does not give you the information you need, reach out to us.
You can chat with us on the #tools slack channel on the Gophers slack.
If you think you have an issue that needs fixing, or a feature suggestion, then please make sure you follow the steps to file an issue with the right information to allow us to address it.
We would love your help!
Our canonical Git repository is located cat go.googlesource.com/discovery. There is a mirror of the repository at github.com/golang/discovery.
To contribute, please read our contributing guide.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.