Skip to content

Commit

Permalink
Suppress camel component doc xref for kotlin-dsl extension due to #6448
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnetherton committed Sep 10, 2024
1 parent 6260a42 commit a1edcfd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,10 @@ private String camelBitLink(ArtifactModel<?> model) {
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";
}
});
Expand Down

0 comments on commit a1edcfd

Please sign in to comment.