1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-21 11:48:53 +00:00

chore: fix gen-crd-api-reference-docs warning ()

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
This commit is contained in:
dongjiang 2024-11-06 18:31:06 +08:00 committed by GitHub
parent 2091f28cc9
commit c22d1da263
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 310 additions and 286 deletions
Documentation
scripts/docs

590
Documentation/api.md generated

File diff suppressed because it is too large Load diff

View file

@ -16,9 +16,13 @@
"typeMatchPrefix": "^k8s\\.io/apimachinery/pkg/util/intstr\\.IntOrString$",
"docsURLTemplate": "https://pkg.go.dev/k8s.io/apimachinery/pkg/util/intstr#IntOrString"
},
{
"typeMatchPrefix": "^k8s\\.io/apimachinery/pkg/api/resource\\.Quantity$",
"docsURLTemplate": "https://pkg.go.dev/k8s.io/apimachinery/pkg/api/resource#Quantity"
},
{
"typeMatchPrefix": "^k8s\\.io/(api|apimachinery/pkg/apis)/",
"docsURLTemplate": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#{{lower .TypeIdentifier}}-{{arrIndex .PackageSegments -1}}-{{arrIndex .PackageSegments -2}}"
"docsURLTemplate": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#{{lower .TypeIdentifier}}-{{arrIndex .PackageSegments -1}}-{{arrIndex .PackageSegments -2}}"
},
{
"typeMatchPrefix": "^k8s\\.io/apiextensions-apiserver/pkg/apis/apiextensions/v1\\.JSON$",