Closed morgante closed 4 years ago
@briantkennedy @AdrienWalkowiak PTAL
Looks good, but we should file a feature request with kpt to add a // GENERATED CODE DO NOT EDIT to each of the gen files.
FR filed: https://github.com/GoogleContainerTools/kpt-functions-sdk/issues/131
This adds a kpt function which automatically generates documentation for constraint templates, policy bundles, and sample constraints.
Since kpt requires a number of generated files, review should focus on generate_docs.ts and the docs themselves.