You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2025/10/28 20:47:25 UTC

(camel) branch main updated: Broken table and source syntax in camel-jbang-*.adoc (#19740)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new d0a1b75bad06 Broken table and source syntax in camel-jbang-*.adoc (#19740)
d0a1b75bad06 is described below

commit d0a1b75bad06b95f3d5773696170c335d5a20054
Author: Andreas Jonsson <10...@users.noreply.github.com>
AuthorDate: Tue Oct 28 21:47:19 2025 +0100

    Broken table and source syntax in camel-jbang-*.adoc (#19740)
    
    * Update camel-jbang-kubernetes.adoc
    
    The table breaks, because of the pipe sign, so it needs to be escaped.
    
    * Corrected syntax for asciidoc source code.
---
 docs/user-manual/modules/ROOT/pages/camel-jbang-kubernetes.adoc | 2 +-
 docs/user-manual/modules/ROOT/pages/camel-jbang.adoc            | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang-kubernetes.adoc b/docs/user-manual/modules/ROOT/pages/camel-jbang-kubernetes.adoc
index 6fdbadbd60bb..f8197ca903df 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang-kubernetes.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang-kubernetes.adoc
@@ -113,7 +113,7 @@ The Camel JBang Kubernetes export command provides several options to customize
 |Maven/Gradle build properties (syntax: --build-property=prop1=foo)
 
 |--property
-|Add a runtime property or properties from a file (syntax: [my-key=my-value|file:/path/to/my-conf.properties,/path/to/my-conf.properties]).
+|Add a runtime property or properties from a file (syntax: [my-key=my-value\|file:/path/to/my-conf.properties,/path/to/my-conf.properties]).
 
 |--config
 |Add a runtime configuration from a ConfigMap or a Secret (syntax: [configmap,secret]:name[/key], where name represents the configmap/secret name and key optionally represents the configmap/secret key to be filtered).
diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index 104fcd6ad709..b0e4ec0d4755 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -3414,7 +3414,7 @@ The `camel transform route` command can be used to transform a YAML route into a
 
 For example, given the following YAML content, in a file named route.yaml
 
-[source:yaml]
+[source, yaml]
 ----
 - route:
     id: route-b785
@@ -3451,14 +3451,14 @@ For example, given the following YAML content, in a file named route.yaml
 
 The following command
 
-[source:bash]
+[source, bash]
 ----
 camel transform route --format=xml /path/to/route.yaml
 ----
 
 Automatically transform the route in XML DSL (Camel XML IO DSL)
 
-[source:xml]
+[source, xml]
 ----
 <camel>
     <route id="route-b785" nodePrefixId="route-14b">