Skip to content

Commit 224cf95

Browse files
ctauchenclaude
andcommitted
Fix dead links breaking the 3.23.1 build
The LINK-CHECK step validates every absolute URL against the live server and fails the build on any dead link. Address the failures: - Add static/calico-enterprise/3.23/scripts/ (switch-active-operator.sh, install-calico-windows.ps1). The versioned static dir was never created at the 3.23 cut, though tmpScriptsURL points at /calico-enterprise/3.23. - Repoint the rotted kubernetes.io Condition link to the current .../kubernetes-api/definitions/condition-v1-meta/ in network.mdx (current + version-3.23-2); the old common-definitions path 404s. - Skip-list the breadcrumb category URLs for the kubevirt and calicoctl/review pages that are new in 3.23 (linkChecker.js), mirroring the existing OSS-Calico kubevirt rule. These clear once 3.23.1 publishes. Download-artifact URLs are intentionally NOT skip-listed: a missing package on downloads.tigera.io is a real publish failure and should break the build. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent a16fb67 commit 224cf95

5 files changed

Lines changed: 647 additions & 2 deletions

File tree

calico-enterprise/reference/resources/network.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Exactly one field must be set.
116116
### Status
117117

118118
`Network.status.conditions` reports the observed state of the resource as a
119-
list of standard Kubernetes [conditions](https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/condition/).
119+
list of standard Kubernetes [conditions](https://kubernetes.io/docs/reference/kubernetes-api/definitions/condition-v1-meta/).
120120

121121
## Attaching pods to a Network
122122

calico-enterprise_versioned_docs/version-3.23-2/reference/resources/network.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Exactly one field must be set.
116116
### Status
117117

118118
`Network.status.conditions` reports the observed state of the resource as a
119-
list of standard Kubernetes [conditions](https://kubernetes.io/docs/reference/kubernetes-api/common-definitions/condition/).
119+
list of standard Kubernetes [conditions](https://kubernetes.io/docs/reference/kubernetes-api/definitions/condition-v1-meta/).
120120

121121
## Attaching pods to a Network
122122

src/utils/linkChecker.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ const defaultSkipList = [
2525
/^https?:\/\/hypershift-docs\.netlify\.app/,
2626
/^https?:\/\/(www\.)?ubuntu\.com\/.*/,
2727
/^https?:\/\/docs\.tigera\.io\/calico\/latest\/networking\/kubevirt\/?$/,
28+
// Category-index breadcrumb URLs for pages new in CE 3.23; live once 3.23.1 publishes.
29+
/^https?:\/\/docs\.tigera\.io\/calico-enterprise\/latest\/networking\/kubevirt\/?$/,
30+
/^https?:\/\/docs\.tigera\.io\/calico-enterprise\/latest\/reference\/clis\/calicoctl\/review\/?$/,
2831
/^https?:\/\/docs\.openshift\.com\/.*/,
2932
/^https?:\/\/docs\.redhat\.com\/.*/,
3033
/^https?:\/\/access\.redhat\.com\/.*/,

0 commit comments

Comments
 (0)