[mirror] Home of the pkg.go.dev website
Перейти к файлу
Andrew Bonventre a1b9579989 content/static: fix various issues with homepage
+ Add blank alt text to decorative images (including the main image)
+ Preserve the main image ratio when sizing using CSS
+ Reduce the intrinsic size of the main image since we were displaying
  a much smaller version on the page
+ Adjust CSS for smaller viewports. Specifically, reduce top margins
  at smaller viewports
+ Update CSS to be mobile by default, with media queries covering
  wider viewports (to be in line with the other CSS across the site)
+ Update the background color of one of the footers to ensure we have
  satisfactory contrast ratio as reported by Lighthouse
+ Use smart quotes around sample searches
+ Transform the label text for example searches using CSS instead
  of directly typing in all caps

Updates golang/go#40504

Change-Id: I55d2823094d9968d00c6d48e64b10af5abd965f6
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/248185
Run-TryBot: Andrew Bonventre <andybons@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
2020-08-13 20:17:53 +00:00
cmd internal/middleware: add URI Too Long check 2020-08-13 17:59:08 +00:00
content/static content/static: fix various issues with homepage 2020-08-13 20:17:53 +00:00
devtools content/static,devtools,internal: update header to spec 2020-07-30 19:31:21 +00:00
doc internal/postgres,etc.: support bypassing license restrictions 2020-08-06 23:48:38 +00:00
internal content/static,internal/fetch/dochtml: expand all nav elements by default 2020-08-13 20:17:46 +00:00
migrations migrations: add migrations for module compatibility sorting 2020-08-10 15:13:50 +00:00
third_party discovery: move content/static/third_party to top-level directory 2020-04-06 17:09:52 -04:00
.gitignore .gitignore: remove editor related section 2020-06-17 13:36:22 +00:00
.prettierignore .prettierignore: add 2020-05-28 22:00:27 +00:00
.prettierrc.yaml all: add initial side navigation UI experiment 2020-06-02 16:31:09 +00:00
CONTRIBUTING.md CONTRIBUTING: document GO_DISCOVERY_LOG_LEVEL 2020-08-06 16:00:51 +00:00
LICENSE discovery: update LICENSE date to 2020 2020-04-06 17:09:52 -04:00
PATENTS discovery: initial boilerplate 2019-01-28 17:05:04 -05:00
README.md content,README.md: use golang.org/s/pkgsite-feedback 2020-07-14 19:48:04 +00:00
all.bash all.bash: uncomment go mod tidy 2020-08-04 14:59:03 +00:00
cloudbuild.yaml cloudbuild.yaml: let Google Cloud Build run our CI script 2020-04-15 14:55:01 +00:00
go.mod internal/frontend: use safehtml 2020-07-07 17:14:32 +00:00
go.sum internal/frontend: use safehtml 2020-07-07 17:14:32 +00:00

README.md

Pkg.go.dev

A site for discovering Go packages

Pkg.go.dev is a website for discovering and evaluating Go packages and modules.

You can check it out at https://pkg.go.dev.

Roadmap

Pkg.go.dev launched in November 2019, and is currently under active development by the Go team.

Here's what we are currently working on:

  • Design updates: We have some design changes planned for pkg.go.dev, to address UX feedback that we have received. You can expect a more cohesive search and navigation experience coming soon. We plan to share these designs for feedback once they are ready.

  • Godoc.org redirect: Longer term, we are working towards redirecting godoc.org traffic to pkg.go.dev. We know that there are features available on godoc.org that users want to see on pkg.go.dev, and we want to ensure that we address these. Weve been keeping track of issues related to redirecting godoc.org traffic on Go issue #39144. These issues will be prioritized in the next few months. We also plan to continue improving our license detection algorithm.

  • Search improvements: Well be improving our search experience based on feedback in Go issue #37810, to make it easier for users to find the dependencies they are looking for and make better decisions around which ones to import.

We encourage everyone to begin using pkg.go.dev today for all of their needs and to 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.

Issues

If you want to report a bug or have a feature suggestion, please first check the known issues to see if your issue is already being discussed. If an issue does not already exist, feel free to file an issue.

For answers to frequently asked questions, see go.dev/about.

You can also chat with us on the #tools slack channel on the Gophers slack.

Contributing

We would love your help!

Our canonical Git repository is located at go.googlesource.com/pkgsite. There is a mirror of the repository at github.com/golang/pkgsite.

To contribute, please read our contributing guide.

License

Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.