README.md: Use go.dev instead of godoc#4681
Conversation
Signed-off-by: Wei Fu <[email protected]>
|
Build succeeded.
|
|  | ||
|
|
||
| [](https://godoc.org/github.com/containerd/containerd) | ||
| [](https://pkg.go.dev/github.com/containerd/containerd) |
There was a problem hiding this comment.
Looks like there's two possible landing pages;
- https://pkg.go.dev/mod/github.com/containerd/containerd (shows the readme and link to repo)
- https://pkg.go.dev/github.com/containerd/containerd (package containerd docs (root))
Wondering which one is more appropriate?
There was a problem hiding this comment.
agree.. the latter one.. more tabs... users coming from our repo readme don't need to land on another copy of the readme.. and both landing pages include link backs to the repo..
There was a problem hiding this comment.
@thaJeztah I generated it from https://pkg.go.dev/badge/ and I think the later one is better as Mike said. :p
There was a problem hiding this comment.
users coming from our repo readme don't need to land on another copy of the readme
Ah, yes, that's fair.
I got somewhat confused, because the first link showed "overview" as first tab, so felt more like an "entry point" to the project. (the second one shows the same info, but now as second tab 🤷♂️). I guess my confusion was because the old godoc.org also shows the subpackages/directories on the landing page, whereas the new layout only shows the root package, and hides subdirectories/packages in the third tab
Signed-off-by: Wei Fu [email protected]