mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
doc: use pkg.go.dev for documentation links (#681)
pkg.go.dev serves Go documentation. However, it also understands modules and has information about past versions of a package. Later this year godoc.org will be redirected to pkg.go.dev. Let's use this subdomain going forward when linking Go documentation. Reference: https://blog.golang.org/pkg.go.dev-2020
This commit is contained in:
@@ -37,7 +37,7 @@ const siteConfig = {
|
||||
// For no header links in the top nav bar -> headerLinks: [],
|
||||
headerLinks: [
|
||||
{doc: 'getting-started', label: 'Docs'},
|
||||
{href: 'https://godoc.org/github.com/facebook/ent', label: 'GoDoc'},
|
||||
{href: 'https://pkg.go.dev/github.com/facebook/ent?tab=doc', label: 'GoDoc'},
|
||||
{href: 'https://github.com/facebook/ent', label: 'Github'},
|
||||
{ blog: true, label: 'Blog' },
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user