[x/go.dev] content: add pkg.go.dev bookmarklet to the about page

The pkg.go.dev bookmarklet redirects github, bitbucket, and launchpad
links to the pkg.go.dev link regardless of what file you are in the code
directory. It uses a regex to find the correct url pathname.

Example behavior: https://screencast.googleplex.com/cast/NDYyODAzMjk3NzM3MTEzNnwxOTI5ZGU0ZC1hNg

Fixes b/148680571
Fixes golang/go#36929

Change-Id: I7f5ef574c37fc5df27cd7dc466a70342c3bd9d37
X-GoDev-Commit: 4e31d08cfd69689578de55f2ce9dffead24b7910
1 file changed
tree: 4d537d480cf54bbf12e211ff186d9e5fcf68c97d
  1. go.dev/
  2. AUTHORS
  3. CONTRIBUTING.md
  4. CONTRIBUTORS
  5. LICENSE
  6. PATENTS
  7. README.md
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 time 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.