This is an automated email from the ASF dual-hosted git repository. zregvart pushed a commit to branch camel-3.6.x in repository https://gitbox.apache.org/repos/asf/camel.git
commit 790d76155388102222e5e6af92c4c7a7a12deada Author: Zoran Regvart <[email protected]> AuthorDate: Fri Oct 30 12:02:02 2020 +0100 CAMEL-15774: take into account the kind of entity Camel Quarkus docs follow the Camel organization so there are components, dataformats, languages and others kinds of docs. (cherry picked from commit 2b09575f67fe6dfd4beef27929fda1d4f88b2890) --- .../main/java/org/apache/camel/maven/packaging/UpdateReadmeMojo.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateReadmeMojo.java b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateReadmeMojo.java index 8e3b08c..a369c5b 100644 --- a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateReadmeMojo.java +++ b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/UpdateReadmeMojo.java @@ -627,7 +627,8 @@ public class UpdateReadmeMojo extends AbstractGeneratorMojo { } newLines.add( - "include::{cq-version}@camel-quarkus:ROOT:partial$reference/components/" + name + ".adoc[opts=optional]"); + "include::{cq-version}@camel-quarkus:ROOT:partial$reference/" + kind + "s/" + name + + ".adoc[opts=optional]"); if (!manualAttributes.isEmpty()) { newLines.add("//Manually maintained attributes");
