This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new a1edcfdbbd Suppress camel component doc xref for kotlin-dsl extension
due to #6448
a1edcfdbbd is described below
commit a1edcfdbbd687d96b41a871f75dd905f79bcbaad
Author: James Netherton <[email protected]>
AuthorDate: Tue Sep 10 14:00:51 2024 +0100
Suppress camel component doc xref for kotlin-dsl extension due to #6448
---
docs/modules/ROOT/pages/reference/extensions/kotlin-dsl.adoc | 2 +-
.../org/apache/camel/quarkus/maven/UpdateExtensionDocPageMojo.java | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/docs/modules/ROOT/pages/reference/extensions/kotlin-dsl.adoc
b/docs/modules/ROOT/pages/reference/extensions/kotlin-dsl.adoc
index 6801b933d1..6995a51fc2 100644
--- a/docs/modules/ROOT/pages/reference/extensions/kotlin-dsl.adoc
+++ b/docs/modules/ROOT/pages/reference/extensions/kotlin-dsl.adoc
@@ -22,7 +22,7 @@ Support for parsing Kotlin route definitions at runtime
[id="extensions-kotlin-dsl-whats-inside"]
== What's inside
-* xref:{cq-camel-components}:others:kotlin-dsl.adoc[Kotlin DSL]
+* [Kotlin DSL]
Please refer to the above link for usage and configuration details.
diff --git
a/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/UpdateExtensionDocPageMojo.java
b/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/UpdateExtensionDocPageMojo.java
index e15ae3457f..0688e29b87 100644
---
a/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/UpdateExtensionDocPageMojo.java
+++
b/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/UpdateExtensionDocPageMojo.java
@@ -245,6 +245,10 @@ public class UpdateExtensionDocPageMojo extends
AbstractDocGeneratorMojo {
xrefPrefix = "xref:manual::";
name = "camel-console";
}
+ // TODO: https://github.com/apache/camel-quarkus/issues/6448
+ if (name.equals("kotlin-dsl")) {
+ return "";
+ }
return xrefPrefix + name + (!"other".equals(kind) ? "-" + kind
: "") + ".adoc";
}
});