This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch docs-support-level in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 2a2fb680cb230312e4e8d21db9b9fe236b48beae Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Thu May 27 07:19:40 2021 +0200 Added support level to docs generator --- script/generator/generator.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/script/generator/generator.go b/script/generator/generator.go index 1fefed3..b2953f3 100644 --- a/script/generator/generator.go +++ b/script/generator/generator.go @@ -86,6 +86,10 @@ func produceDoc(k camel.Kamelet, out string, image string) { content += fmt.Sprintf("*Provided by: %q*\n", prov) content += "\n" } + if supportLevel, ok := k.Annotations["camel.apache.org/kamelet.support.level"]; ok { + content += fmt.Sprintf("*Support Level for this Kamelet is: %q*\n", supportLevel) + content += "\n" + } content += k.Spec.Definition.Description + "\n" content += "\n" content += "== Configuration Options\n"