forked from rook/rook
Currently, if there is any change in the API we need to separately run the make generate-crd-docs but with this change make crds will also update the generated docs Also improved the file locations Closes: https://github.com/rook/rook/issues/12310 Signed-off-by: parth-gr <paarora@redhat.com>
29 lines
955 B
JSON
29 lines
955 B
JSON
{
|
|
"hideMemberFields": [
|
|
"TypeMeta"
|
|
],
|
|
"hideTypePatterns": [
|
|
"ParseError$",
|
|
"List$"
|
|
],
|
|
"externalPackages": [
|
|
{
|
|
"typeMatchPrefix": "^k8s\\.io/apimachinery/pkg/apis/meta/v1\\.Duration$",
|
|
"docsURLTemplate": "https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#Duration"
|
|
},
|
|
{
|
|
"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}}"
|
|
},
|
|
{
|
|
"typeMatchPrefix": "^github\\.com/knative/pkg/apis/duck/",
|
|
"docsURLTemplate": "https://pkg.go.dev/github.com/knative/pkg/apis/duck/{{arrIndex .PackageSegments -1}}#{{.TypeIdentifier}}"
|
|
}
|
|
],
|
|
"typeDisplayNamePrefixOverrides": {
|
|
"k8s.io/api/": "Kubernetes ",
|
|
"k8s.io/apimachinery/pkg/apis/": "Kubernetes "
|
|
},
|
|
"markdownDisabled": false
|
|
}
|