Skip to content

Commit 835e054

Browse files
committed
Strip comments from CRD descriptions
Kubernetes has some conventions for type descriptions: - Line that only contains --- separates the description from comments. The leading lines are part of public documentation, the trailing lines are internal instructions such as code examples etc. - Line that begins with TODO are internal notes for implementers, and not part of public documentation of the type. This change strips above informational text away from the generated CRDs while keeping them if they appear inside markdown fenced code block. Signed-off-by: Tero Saarni <[email protected]>
1 parent bfff3ce commit 835e054

File tree

4 files changed

+38
-84
lines changed

4 files changed

+38
-84
lines changed

0 commit comments

Comments
 (0)