Skip to content

Commit 73f7a02

Browse files
committed
docs: fix broken links in v1alpha2 docs
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
1 parent 592008b commit 73f7a02

File tree

2 files changed

+879
-37
lines changed

2 files changed

+879
-37
lines changed

website/apis/config.yaml

Lines changed: 39 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,48 @@
11
hiddenMemberFields:
2-
- "TypeMeta"
2+
- TypeMeta
33

44
externalPackages:
5-
- match: ^k8s\.io/apimachinery/pkg/apis/meta/v1\.Duration$
6-
target: https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#Duration
7-
- match: ^k8s\.io/apimachinery/pkg/apis/meta/v1\.GroupVersionKind$
8-
target: https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#GroupVersionKind
9-
- match: ^k8s\.io/apimachinery/pkg/apis/meta/v1\.GroupVersionResource$
10-
target: https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#GroupVersionResource
11-
- match: ^k8s\.io/apimachinery/pkg/types\.UID$
12-
target: https://pkg.go.dev/k8s.io/apimachinery/pkg/types#UID
13-
- match: ^k8s\.io/apimachinery/pkg/runtime\.RawExtension$
14-
target: https://pkg.go.dev/k8s.io/apimachinery/pkg/runtime/#RawExtension
15-
- match: ^k8s\.io/apimachinery/pkg/api/resource\.QuantityValue$
16-
target: https://pkg.go.dev/k8s.io/apimachinery/pkg/api/resource#QuantityValue
17-
- match: ^k8s\.io/apimachinery/pkg/api/resource\.Quantity$
18-
target: https://pkg.go.dev/k8s.io/apimachinery/pkg/api/resource#Quantity
19-
- match: ^k8s\.io/apimachinery/pkg/runtime\.Unknown$
20-
target: https://pkg.go.dev/k8s.io/apimachinery/pkg/runtime#Unknown
21-
- match: ^time\.Duration$
22-
target: https://pkg.go.dev/time#Duration
23-
- match: ^io.Writer$
24-
target: https://pkg.go.dev/io#Writer
25-
- match: ^k8s\.io/(api|apimachinery/pkg/apis)/
26-
target: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#{{- lower .TypeIdentifier -}}-{{- arrIndex .PackageSegments -1 -}}-{{- arrIndex .PackageSegments -2 -}}
5+
- match: ^k8s\.io/apimachinery/pkg/apis/meta/v1\.Duration$
6+
target: https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#Duration
7+
- match: ^k8s\.io/apimachinery/pkg/apis/meta/v1\.GroupVersionKind$
8+
target: https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#GroupVersionKind
9+
- match: ^k8s\.io/apimachinery/pkg/apis/meta/v1\.GroupVersionResource$
10+
target: https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#GroupVersionResource
11+
- match: ^k8s\.io/apimachinery/pkg/types\.UID$
12+
target: https://pkg.go.dev/k8s.io/apimachinery/pkg/types#UID
13+
- match: ^k8s\.io/apimachinery/pkg/runtime\.RawExtension$
14+
target: https://pkg.go.dev/k8s.io/apimachinery/pkg/runtime/#RawExtension
15+
- match: ^k8s\.io/apimachinery/pkg/api/resource\.QuantityValue$
16+
target: https://pkg.go.dev/k8s.io/apimachinery/pkg/api/resource#QuantityValue
17+
- match: ^k8s\.io/apimachinery/pkg/api/resource\.Quantity$
18+
target: https://pkg.go.dev/k8s.io/apimachinery/pkg/api/resource#Quantity
19+
- match: ^k8s\.io/apimachinery/pkg/runtime\.Unknown$
20+
target: https://pkg.go.dev/k8s.io/apimachinery/pkg/runtime#Unknown
21+
- match: ^time\.Duration$
22+
target: https://pkg.go.dev/time#Duration
23+
- match: ^io.Writer$
24+
target: https://pkg.go.dev/io#Writer
25+
- match: ^k8s\.io/(api|apimachinery/pkg/apis)/
26+
target: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#{{- lower .TypeIdentifier -}}-{{- arrIndex .PackageSegments -1 -}}-{{- arrIndex .PackageSegments -2 -}}
2727

2828
stripPrefix:
29-
- k8s.io/api/
30-
- k8s.io/apimachinery/pkg/apis/
31-
- github.com/kyverno/kyverno-json/pkg/apis/
32-
- github.com/tengqm/kubeconfig/config/kubeadm/v1beta2.
33-
- github.com/tengqm/kubeconfig/config/kubeadm/v1beta3.
34-
- github.com/tengqm/kubeconfig/config/bootstraptoken/v1.
29+
- k8s.io/api/
30+
- k8s.io/apimachinery/pkg/apis/
31+
- github.com/kyverno/kyverno-json/pkg/apis/
32+
- github.com/tengqm/kubeconfig/config/kubeadm/v1beta2.
33+
- github.com/tengqm/kubeconfig/config/kubeadm/v1beta3.
34+
- github.com/tengqm/kubeconfig/config/bootstraptoken/v1.
3535

3636
markdownDisabled: false
3737

3838
apis:
39-
- name: chainsaw
40-
title: chainsaw (v1alpha1)
41-
package: github.com/kyverno/chainsaw
42-
path: pkg/apis/v1alpha1
43-
- name: chainsaw
44-
title: chainsaw (v1alpha2)
45-
package: github.com/kyverno/chainsaw
46-
path: pkg/apis/v1alpha2
39+
- name: chainsaw
40+
title: chainsaw (v1alpha1)
41+
package: github.com/kyverno/chainsaw
42+
path: pkg/apis/v1alpha1
43+
- name: chainsaw
44+
title: chainsaw (v1alpha2)
45+
package: github.com/kyverno/chainsaw
46+
path: pkg/apis/v1alpha2
47+
includes:
48+
- github.com/kyverno/chainsaw/pkg/apis/v1alpha1

0 commit comments

Comments
 (0)