crd-ref-docs icon indicating copy to clipboard operation
crd-ref-docs copied to clipboard

Support for outputting a file per kind

Open akselleirv opened this issue 1 year ago • 0 comments

In an internal documentation I have a file exists per resource/kind, so it would be nice to output the API references for each kind.

Example:

$ crd-ref-docs --source-path=./pkg/apis \
    --config=config.yaml \
    --renderer=markdown \
    --output-path ./output \
    --output-mode=kind

output
├── <group one>/v1alpha1/MyResource.md
├── <group one>/v1beta1/MyResource.md
└── <group two>/v1alpha1/MyOtherResource.md

akselleirv avatar Oct 07 '24 07:10 akselleirv