golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
124.38k stars 17.7k forks source link

proposal: x/pkgsite/cmd/pkgsite: old mode #70622

Closed 3052 closed 1 day ago

3052 commented 2 days ago

Proposal Details

here:

https://github.com/golang/go/issues/45986#issuecomment-835280845

its suggested to use x/tools/cmd/godoc instead of x/website/cmd/golangorg, fair enough.

however x/tools/cmd/godoc is now deprecated in favor of x/pkgsite/cmd/pkgsite.

my issue is that golangorg offers a desirable option m=old, which gives a simple layout:

https://go.dev/pkg/fmt?m=old

pkgsite does not have this option:

https://pkg.go.dev/fmt?m=old

gabyhelp commented 2 days ago

Related Issues

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

seankhliao commented 1 day ago

If you like the godoc layout, feel free to use that or one of the forks that other people maintain, an entirely new layout seems out of scope (considering different internals).