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
Signed-off-by: slashexx <[email protected]>
  • Loading branch information
slashexx committed Mar 5, 2025
1 parent 1031b6d commit c2b8d1a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/crd/bases/kro.run_resourcegraphdefinitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ spec:
format: date-time
type: string
message:
description: A human readable message indicating details about
description: A human-readable message indicating details about
the transition.
type: string
observedGeneration:
Expand Down
2 changes: 1 addition & 1 deletion helm/crds/kro.run_resourcegraphdefinitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ spec:
format: date-time
type: string
message:
description: A human readable message indicating details about
description: A human-readable message indicating details about
the transition.
type: string
observedGeneration:
Expand Down
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 c2b8d1a

Please sign in to comment.