You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2019/08/02 17:16:34 UTC

[camel-quarkus] branch zregvart-patch-1 created (now a8b9bf3)

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

zregvart pushed a change to branch zregvart-patch-1
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git.


      at a8b9bf3  Use source block instead of code

This branch includes the following new commits:

     new a8b9bf3  Use source block instead of code

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[camel-quarkus] 01/01: Use source block instead of code

Posted by zr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch zregvart-patch-1
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit a8b9bf39a52a253f37d5820ee5d9e06623e89060
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Fri Aug 2 19:16:30 2019 +0200

    Use source block instead of code
    
    This should fix issues reported in the Antora build:
    
    ```
    [2019-08-02T17:09:35.089Z] asciidoctor: WARNING: contributor-guide.adoc: line 18: invalid style for listing block: code
    
    [2019-08-02T17:09:35.089Z] asciidoctor: WARNING: contributor-guide.adoc: line 26: invalid style for listing block: code
    
    [2019-08-02T17:09:35.089Z] asciidoctor: WARNING: contributor-guide.adoc: line 33: invalid style for listing block: code
    
    [2019-08-02T17:09:35.089Z] asciidoctor: WARNING: contributor-guide.adoc: line 42: invalid style for listing block: code
    
    [2019-08-02T17:09:35.089Z] asciidoctor: WARNING: contributor-guide.adoc: line 50: invalid style for listing block: code
    
    [2019-08-02T17:09:35.089Z] asciidoctor: WARNING: contributor-guide.adoc: line 72: invalid style for listing block: code
    ```
---
 docs/modules/ROOT/pages/contributor-guide.adoc | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/docs/modules/ROOT/pages/contributor-guide.adoc b/docs/modules/ROOT/pages/contributor-guide.adoc
index 1a2b1eb..745685e 100644
--- a/docs/modules/ROOT/pages/contributor-guide.adoc
+++ b/docs/modules/ROOT/pages/contributor-guide.adoc
@@ -14,7 +14,7 @@
 
 Checkout the code
 
-[code,shell]
+[source,shell]
 ----
 git clone https://github.com/apache/camel-quarkus.git
 cd camel-quarkus
@@ -22,14 +22,14 @@ cd camel-quarkus
 
 A fast build without tests:
 
-[code,shell]
+[source,shell]
 ----
 mvn clean install -DskipTests
 ----
 
 A build with integration tests in the JVM mode only:
 
-[code,shell]
+[source,shell]
 ----
 mvn clean install
 ----
@@ -38,7 +38,7 @@ There are two options how to perform a build with integration tests in both the
 
 A. Using Docker (easier in most cases):
 +
-[code,shell]
+[source,shell]
 ----
 mvn clean install -Dnative -Dnative-image.docker-build=true /
     -Dnative-image.xmx=5g
@@ -46,7 +46,7 @@ mvn clean install -Dnative -Dnative-image.docker-build=true /
 
 B. Using GraalVM directly:
 +
-[code,shell]
+[source,shell]
 ----
 mvn clean install -Dnative -Dnative-image.xmx=5g
 ----
@@ -68,7 +68,7 @@ mvn clean install -Dnative -Dnative-image.xmx=5g
 5. Scaffold the necessary Maven modules using `quarkus-maven-plugin`. As an example let's add a new extension for
    supporting an imaginary Camel component `foo`:
 +
-[code,shell]
+[source,shell]
 ----
 cd camel-quarkus
 cd extensions