diff --git a/docs/antora.yml b/docs/antora.yml index 61bc5b2d0..52c9d22f5 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -28,4 +28,11 @@ asciidoc: attributes: requires: "'util=camel-website-util,kamelets=xref:js/kamelets.js'" # Update to appropriate released camel-k version on release - camel-k-version: next + prerelease: true +# version-used: true +# camel-k-version: next + camel-k-docs-version: next +# camel-kafka-connector-version: none +# camel-kafka-connector-docs-version: none + camel-version: 3.14.0 + camel-docs-version: 3.14.x diff --git a/docs/modules/ROOT/examples/template/kamelet-options.adoc b/docs/modules/ROOT/examples/template/kamelet-options.adoc index 3ea0653f8..d7a06fb8a 100644 --- a/docs/modules/ROOT/examples/template/kamelet-options.adoc +++ b/docs/modules/ROOT/examples/template/kamelet-options.adoc @@ -55,7 +55,7 @@ jsonpathExpression::example$yaml/${basename}.kamelet.yaml[query='$', format='kam ==== *Prerequisite* -You have xref:{camel-k-version}@camel-k::installation/installation.adoc[Camel K installed] on the cluster. +You have xref:{camel-k-docs-version}@camel-k::installation/installation.adoc[Camel K installed] on the cluster. ==== *Procedure for using the cluster CLI* @@ -102,7 +102,7 @@ jsonpathExpression::example$yaml/${basename}.kamelet.yaml[query='$', format='kam * You've installed https://strimzi.io/[Strimzi]. * You've created a topic named \`my-topic\` in the current namespace. -* You have xref:{camel-k-version}@camel-k::installation/installation.adoc[Camel K installed] on the cluster. +* You have xref:{camel-k-docs-version}@camel-k::installation/installation.adoc[Camel K installed] on the cluster. ==== *Procedure for using the cluster CLI* diff --git a/docs/modules/ROOT/pages/index.adoc b/docs/modules/ROOT/pages/index.adoc index cc556820d..2d11bc27f 100644 --- a/docs/modules/ROOT/pages/index.adoc +++ b/docs/modules/ROOT/pages/index.adoc @@ -1,10 +1,36 @@ = Kamelet Catalog +[NOTE] +-- +This version ({page-component-display-version}) of {page-component-title} depends on: + +* xref:{camel-docs-version}@components::index.adoc[Camel] at version {camel-version} + +ifndef::version-used[It is not currently used by other subprojects such as camel-k or camel-kafka-connector.] +ifdef::version-used[] +It is used by: + +ifdef::camel-k-version[] +* xref:{camel-k-docs-version}@camel-k::index.adoc[Camel-K] at version {camel-k-version} +endif::[] +ifdef::camel-kafka-connector-version[] +* xref:{camel-kafka-connector-docs-version}@camel-kafka-connector::index.adoc[Camel Kafka Connector] at version {camel-kafka-connector-version} +endif::[] + +endif::[] + +ifdef::lts[This long term service release will be supported until {lts}.] +ifndef::lts[] +ifdef::prerelease[This is the development version of {page-component-title}. It should not be used in production.] +ifndef::prerelease[This release will not be updated, but rather replaced by a new release.] +endif::[] +-- + This page contains the default Apache Camel Kamelets catalog. -Consult the xref:{camel-k-version}@camel-k::kamelets/kamelets-user.adoc[Kamelets User Guide] for information about how to use these. +Consult the xref:{camel-k-docs-version}@camel-k::kamelets/kamelets-user.adoc[Kamelets User Guide] for information about how to use these. -**We love contributions for this catalog**: you can follow the xref:{camel-k-version}@camel-k::kamelets/kamelets-dev.adoc[Kamelets Developer Guide] +**We love contributions for this catalog**: you can follow the xref:{camel-k-docs-version}@camel-k::kamelets/kamelets-dev.adoc[Kamelets Developer Guide] for information on how to create new Kamelets and contribute them to the official https://github.com/apache/camel-kamelets/[github.com/apache/camel-kamelets] repository. [indexBlock,'xref=$xref']