Skip to content

Commit

Permalink
feat: add header configuration to allow vanity go imports
Browse files Browse the repository at this point in the history
  • Loading branch information
slashexx committed Mar 6, 2025
1 parent fa559d8 commit f82e1b8
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,23 @@ const config: Config = {
defaultLocale: "en",
locales: ["en"],
},

headTags: [
{
tagName: "meta",
attributes: {
name: "go-import",
content: "kro.run/pkg git https://github.com/kro-run/kro",
},
},
{
tagName: "meta",
attributes: {
name: "go-source",
content: "kro.run/pkg git https://github.com/kro-run/kro https://github.com/kro-run/kro/tree/main{/dir} https://github.com/kro-run/kro/blob/main{/dir}/{file}#L{line}",
},
},
],

presets: [
[
"classic",
Expand Down

0 comments on commit f82e1b8

Please sign in to comment.