From 59277b5d599b41a6752bedacff6a04e134a7e7c2 Mon Sep 17 00:00:00 2001 From: David Jencks Date: Fri, 21 Jan 2022 16:15:04 -0800 Subject: [PATCH] RI table --- docs/modules/ROOT/examples/js/kamelets.js | 7 ++++++- docs/modules/ROOT/pages/index.adoc | 17 +++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/docs/modules/ROOT/examples/js/kamelets.js b/docs/modules/ROOT/examples/js/kamelets.js index 549983c79..2b8f2c8db 100644 --- a/docs/modules/ROOT/examples/js/kamelets.js +++ b/docs/modules/ROOT/examples/js/kamelets.js @@ -111,7 +111,12 @@ module.exports = { :type: ${type} :propertycount: ${propertyCount} ` - } + }, + +// Compatibility table support + branch: (version) => version === 'next' ? + 'https://github.com/apache/camel-kamelets[main]' : + `https://github.com/apache/camel-kamelets/tree/${version}[${version}]`, } function kameletPropertyList (definition) { diff --git a/docs/modules/ROOT/pages/index.adoc b/docs/modules/ROOT/pages/index.adoc index 2d11bc27f..4e73892ff 100644 --- a/docs/modules/ROOT/pages/index.adoc +++ b/docs/modules/ROOT/pages/index.adoc @@ -26,6 +26,23 @@ ifndef::prerelease[This release will not be updated, but rather replaced by a ne endif::[] -- +== Compatibility Matrix + +[caption=] +.Compatibility between Camel-K and related subprojects +[width="100%",cols="4,2,2,2,1,3",options="header"] +|=== +|Camel-Kamelets Version +|Using Camel Version +|Used by Camel-K Version +|Used by Camel-Kafka-Connector Version +|LTS Until +|Branch +|=== + +//cannot use top level index.adoc as the page with the query is always omitted. +indexTable::[version="*",relative="avro-deserialize-action.adoc",cellformats="util.kameletsRef(pageComponentDisplayVersion, pageComponentVersion)|util.camelRef(camelVersion, camelDocsVersion)|util.ckRef(camelKVersion, camelKDocsVersion)|util.ckcRef(camelKafkaConnectorVersion, camelKafkaConnectorDocsVersion)|lts|kamelets.branch(pageComponentVersion)", requires={requires},transform=util.sortCompatibilityItems] + This page contains the default Apache Camel Kamelets catalog. Consult the xref:{camel-k-docs-version}@camel-k::kamelets/kamelets-user.adoc[Kamelets User Guide] for information about how to use these.