This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch 0.5.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


The following commit(s) were added to refs/heads/0.5.x by this push:
     new 7b9fc68  RI table
7b9fc68 is described below

commit 7b9fc68652e35fe82a00decceff72e87c1c7c4af
Author: David Jencks <djen...@apache.org>
AuthorDate: Fri Jan 21 16:15:04 2022 -0800

    RI table
---
 docs/antora.yml                           |  2 +-
 docs/modules/ROOT/examples/js/kamelets.js |  7 ++++++-
 docs/modules/ROOT/pages/index.adoc        | 17 +++++++++++++++++
 3 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/docs/antora.yml b/docs/antora.yml
index 564a2e4..7e0ab0a 100644
--- a/docs/antora.yml
+++ b/docs/antora.yml
@@ -26,7 +26,7 @@ asciidoc:
   attributes:
     requires: "'util=camel-website-util,kamelets=xref:js/kamelets.js'"
 
-    camel-k-version: 1.7.0 and next
+    camel-k-version: 1.7.0
     camel-k-docs-version: 1.7.x
     camel-version: 3.12.0
     camel-docs-version: 3.12.x
diff --git a/docs/modules/ROOT/examples/js/kamelets.js 
b/docs/modules/ROOT/examples/js/kamelets.js
index bbc04da..5207830 100644
--- a/docs/modules/ROOT/examples/js/kamelets.js
+++ b/docs/modules/ROOT/examples/js/kamelets.js
@@ -112,7 +112,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 5a7ebfe..e8c944c 100644
--- a/docs/modules/ROOT/pages/index.adoc
+++ b/docs/modules/ROOT/pages/index.adoc
@@ -17,6 +17,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.

Reply via email to