commit | 6f1dbbfaa582182bb1a3181823fd84ae87b9b8f4 | [log] [tgz] |
---|---|---|
author | Alexander Yastrebov <[email protected]> | Thu May 01 07:37:51 2025 +0000 |
committer | Jonathan Amsterdam <[email protected]> | Mon May 05 07:22:35 2025 -0700 |
tree | 159a3f78a0ae1ed8a95e30f79a8e7668b064cac0 | |
parent | e863a039941fdd1a92fb694c3d9b3bb0ea0ba257 [diff] |
internal/godoc/dochtml: omit "Output" section for examples with no output Fixes golang/go#60986 Change-Id: I9695ab6c40b0ae58e4b86c38de000da3cae77737 GitHub-Last-Rev: 81bfdb9e77abc7e54a7ee48ba6a096b1bf981d89 GitHub-Pull-Request: golang/pkgsite#68 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/506699 kokoro-CI: kokoro <[email protected]> Reviewed-by: Carlos Amedee <[email protected]> Reviewed-by: Jonathan Amsterdam <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
This repository hosts the source code of the pkg.go.dev website, and pkgsite
, a documentation server program.
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
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.
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.
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.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.