Pkg.go.dev

Clone this repo:

Branches

  1. 4d41929 cmd/internal/doc: enable go doc mode by Michael Matloob · 10 days ago master
  2. a4f2384 internal/godoc: fix incompatibility with Go 1.25 go/doc package by Michael Matloob · 3 days ago
  3. 274f418 internal/frontend: add a go doc mode to suppress some UI elements by Michael Matloob · 10 days ago
  4. 0e6de17 static/frontend: hide subpackage expansion button when all internal by Jake Bailey · 2 weeks ago
  5. 4065921 cmd/internal/doc: set go.mod go version to 1.24.3 by Michael Matloob · 13 days ago

golang.org/x/pkgsite

This repository hosts the source code of the pkg.go.dev website, and pkgsite, a documentation server program.

Go Reference

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.

pkgsite: a documentation server

pkgsite program extracts and generates documentation for Go projects.

Example usage:

$ go install golang.org/x/pkgsite/cmd/pkgsite@latest
$ cd myproject
$ pkgsite -open .

For more information, see the pkgsite documentation.

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 pkg.go.dev/about.

You can also chat with us on the #pkgsite 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.

Links