type GitRepositoryStatus struct {
[...]
// Conditions holds the conditions for the GitRepository.
// +optional
Conditions []metav1.Condition `json:"conditions,omitempty"`
// Artifact represents the last successful GitRepository reconciliation.
// +optional
Artifact *Artifact `json:"artifact,omitempty"`
// IncludedArtifacts contains a list of the last successfully included
// Artifacts as instructed by GitRepositorySpec.Include.
// +optional
IncludedArtifacts []*Artifact `json:"includedArtifacts,omitempty"`
}
the output of gen-crd-api-reference-docs is something like
Given this CRD in Go:
the output of gen-crd-api-reference-docs is something like
where the
href
part is rendered usinglinkForType .Type
and the text is rendered usingtypeDisplayName .Type
.You can see this happening in the Flux API docs but also in other projects like vitess (search for "[]*").