This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit aaee5abb413e98dd84152722ff168ffec9c144dd
Author: Zoran Regvart <[email protected]>
AuthorDate: Fri Oct 30 12:02:02 2020 +0100

    CAMEL-15774: make sure to take the kind of entity
    
    Camel Quarkus docs follow the Camel organization so there are
    components, dataformats, languages and others kinds of docs.
---
 .../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 be0c634..c0acf05 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
@@ -647,7 +647,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");

Reply via email to