generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 613
docs: fix broken links #4217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
k8s-ci-robot
merged 5 commits into
kubernetes-sigs:main
from
zirain-dev:fix-broken-links
Nov 6, 2025
+27
−27
Merged
docs: fix broken links #4217
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -164,12 +164,12 @@ Status defines the observed state of the BackendTLSPolicy and is not user-config | |
| way you do for other Gateway API objects to verify correct operation. Note that the status in BackendTLSPolicy | ||
| uses `PolicyAncestorStatus` to allow you to know which parentReference set that particular status. | ||
|
|
||
| [backendtlspolicy]: ../reference/spec.md#gateway.networking.k8s.io/v1alpha3.BackendTLSPolicy | ||
| [validation]: ../reference/spec.md#gateway.networking.k8s.io/v1alpha3.BackendTLSPolicy.Validation | ||
| [caCertificateRefs]: ../reference/spec.md#gateway.networking.k8s.io/v1alpha3.BackendTLSPolicyValidation.CACertificateRefs | ||
| [wellKnownCACertificates]: ../reference/spec.md#gateway.networking.k8s.io/v1alpha3.BackendTLSPolicyValidation.WellKnownCACertificates | ||
| [hostname]: ../reference/spec.md#gateway.networking.k8s.io/v1.PreciseHostname | ||
| [backendtlspolicy]: ../reference/spec.md#backendtlspolicy | ||
| [validation]: ../reference/spec.md#backendtlspolicyvalidation | ||
| [caCertificateRefs]: ../reference/spec.md#localobjectreference | ||
| [wellKnownCACertificates]: ../reference/spec.md#localobjectreference | ||
| [hostname]: ../reference/spec.md#precisehostname | ||
| [rfc-3986]: https://tools.ietf.org/html/rfc3986 | ||
| [targetRefs]: ../references/spec/#gateway.networking.k8s.io/v1alpha2.PolicyTargetReference | ||
| [subjectAltNames]: ../references/spec/#gateway.networking.k8s.io/v1alpha3.BackendTLSPolicyValidation | ||
| [options]: ../references/spec/#gateway.networking.k8s.io/v1alpha3.GatewayTLSConfig | ||
| [targetRefs]: ../reference/spec/#localpolicytargetreferencewithsectionname | ||
| [subjectAltNames]: ../reference/spec/#subjectaltname | ||
|
||
| [options]: ../reference/spec/#backendtlspolicyspec | ||
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is still not working. On https://deploy-preview-4217--kubernetes-sigs-gateway-api.netlify.app/api-types/backendtlspolicy/ if you click on TargetRefs it will give you a 404.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw it should be here: https://deploy-preview-4217--kubernetes-sigs-gateway-api.netlify.app/reference/spec/#localpolicytargetreferencewithsectionname
I suggest running a
make live-docson your local computer and testing all of the links :)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your patient, I double checked this page, it should be fine now.
we can add linkinator to help this in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no worries, I appreciate your effort on fixing it!
There is some ongoing effort to do this as a python hook: #3999
It is still probably too soon to try it, but I saw the authors of mkdocs material (which we use) are moving to a new approach as well: https://zensical.org/
Anyway, we can probably use linkinator as a github action (https://github.com/JustinBeckwith/linkinator#github-actions), it would be great if they provided also a docker image so we could add as some part of "make verify" here :) (I am scared of vendoring half of the internet for npx stuff!)
If you want to give it a try, and let us know on some issue later how your experiments with it or even something like https://github.com/lycheeverse/lychee would be great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried it locally, but it has almost over 1,000+ broken links. I haven't had enough bandwidth to fix it recently
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no worries, we can do it split on multiple efforts/parts! thanks