Skip to content

Commit

Permalink
RI table
Browse files Browse the repository at this point in the history
  • Loading branch information
djencks authored and oscerd committed Jan 24, 2022
1 parent a6533dd commit 59277b5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/modules/ROOT/examples/js/kamelets.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
17 changes: 17 additions & 0 deletions docs/modules/ROOT/pages/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 59277b5

Please sign in to comment.