golang.org/x/pkgsite/internal.Unit.Documentation (field)
18 uses
golang.org/x/pkgsite/internal (current package)
nonredist.go#L22: u.Documentation = nil
unit.go#L49: Documentation []*Documentation // at most one on read
golang.org/x/pkgsite/internal/fetch
unit.go#L67: dir.Documentation = pkg.docs
golang.org/x/pkgsite/internal/frontend
main.go#L135: unit.Documentation = cleanDocumentation(unit.Documentation)
main.go#L138: if len(unit.Documentation) > 0 {
main.go#L139: doc = unit.Documentation[0]
main.go#L266: if len(u.Documentation[0].Source) > 0 {
golang.org/x/pkgsite/internal/godoc
render.go#L211: docPkg, err := DecodePackage(u.Documentation[0].Source)
golang.org/x/pkgsite/internal/localdatasource
datasource.go#L80: for _, d := range unit.Documentation {
golang.org/x/pkgsite/internal/postgres
insert_module.go#L386: for _, d := range u.Documentation {
insert_module.go#L391: pathToDocs[u.Path] = u.Documentation
search.go#L642: if len(pkg.Documentation) > 0 {
search.go#L644: args.Synopsis = pkg.Documentation[0].Synopsis
unit.go#L526: u.Documentation = []*internal.Documentation{doc}
golang.org/x/pkgsite/internal/testing/sample
sample.go#L196: m.Units[0].Documentation = u.Documentation
sample.go#L235: Documentation: []*internal.Documentation{&doc},
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |