You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once PR #654 (which improves the SIGs and community groups directory) is merged, we should update the KEP layout to hyperlink to the relevant internal SIG sub-page if it exists.
Proposed Changes
In layouts/keps/single.html, update the SIG linking logic:
Currently, the SIG names on KEP pages (e.g., https://www.kubernetes.dev/resources/keps/19/) link to external GitHub repositories.
Once PR #654 (which improves the SIGs and community groups directory) is merged, we should update the KEP layout to hyperlink to the relevant internal SIG sub-page if it exists.
Proposed Changes
In
layouts/keps/single.html, update the SIG linking logic:https://github.com/kubernetes/community/tree/master/{{ .Params.owningSig }}/community/community-groups/sigs/{{ strings.TrimPrefix "sig-" .Params.owningSig }}/(exact path depends on the final structure of PR Render community groups info using content adapter #654).We should also do this for
participatingSigs.Implementation Detail
We can use Hugo's
.Site.GetPageto check if the internal page exists before linking to it, falling back to the GitHub link if not found.