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

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


The following commit(s) were added to refs/heads/main by this push:
     new 86dcd141bb Fix AsciiDoc attribute substitution in MapStruct and Jasypt 
documentation
86dcd141bb is described below

commit 86dcd141bba2910bb3c4f3b4323b231631974f39
Author: James Netherton <[email protected]>
AuthorDate: Tue Aug 19 08:56:17 2025 +0100

    Fix AsciiDoc attribute substitution in MapStruct and Jasypt documentation
---
 docs/modules/ROOT/pages/reference/extensions/jasypt.adoc    | 2 +-
 docs/modules/ROOT/pages/reference/extensions/mapstruct.adoc | 4 ++--
 extensions/jasypt/runtime/src/main/doc/usage.adoc           | 2 +-
 extensions/mapstruct/runtime/src/main/doc/usage.adoc        | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/docs/modules/ROOT/pages/reference/extensions/jasypt.adoc 
b/docs/modules/ROOT/pages/reference/extensions/jasypt.adoc
index e5cc367524..d5a9878d1f 100644
--- a/docs/modules/ROOT/pages/reference/extensions/jasypt.adoc
+++ b/docs/modules/ROOT/pages/reference/extensions/jasypt.adoc
@@ -57,7 +57,7 @@ By default, you do not need to write custom code to configure 
the Camel `JasyptP
 Any Camel configuration property added to `application.properties` can be 
secured with Jasypt.
 To encrypt a value, there is a utility that can be run with 
https://www.jbang.dev/[JBang].
 
-[source]
+[source,shell,subs=attributes+]
 ----
 jbang org.apache.camel:camel-jasypt:{camel-version} -c encrypt -p 
secret-password -i "Some secret content"
 ----
diff --git a/docs/modules/ROOT/pages/reference/extensions/mapstruct.adoc 
b/docs/modules/ROOT/pages/reference/extensions/mapstruct.adoc
index 4d2268cd80..25a76d4b47 100644
--- a/docs/modules/ROOT/pages/reference/extensions/mapstruct.adoc
+++ b/docs/modules/ROOT/pages/reference/extensions/mapstruct.adoc
@@ -54,7 +54,7 @@ To use MapStruct, you must configure your build to use an 
annotation processor.
 [id="extensions-mapstruct-usage-maven"]
 ==== Maven
 
-[source,xml]
+[source,xml,subs=attributes+]
 ----
 <plugins>
     <plugin>
@@ -76,7 +76,7 @@ To use MapStruct, you must configure your build to use an 
annotation processor.
 [id="extensions-mapstruct-usage-gradle"]
 ==== Gradle
 
-[source,gradle]
+[source,gradle,subs=attributes+]
 ----
 dependencies {
     annotationProcessor 'org.mapstruct:mapstruct-processor:{mapstruct-version}'
diff --git a/extensions/jasypt/runtime/src/main/doc/usage.adoc 
b/extensions/jasypt/runtime/src/main/doc/usage.adoc
index f8a55b4b36..2d315d0519 100644
--- a/extensions/jasypt/runtime/src/main/doc/usage.adoc
+++ b/extensions/jasypt/runtime/src/main/doc/usage.adoc
@@ -9,7 +9,7 @@ By default, you do not need to write custom code to configure 
the Camel `JasyptP
 Any Camel configuration property added to `application.properties` can be 
secured with Jasypt.
 To encrypt a value, there is a utility that can be run with 
https://www.jbang.dev/[JBang].
 
-[source]
+[source,shell,subs=attributes+]
 ----
 jbang org.apache.camel:camel-jasypt:{camel-version} -c encrypt -p 
secret-password -i "Some secret content"
 ----
diff --git a/extensions/mapstruct/runtime/src/main/doc/usage.adoc 
b/extensions/mapstruct/runtime/src/main/doc/usage.adoc
index dad335f4c9..27853473ce 100644
--- a/extensions/mapstruct/runtime/src/main/doc/usage.adoc
+++ b/extensions/mapstruct/runtime/src/main/doc/usage.adoc
@@ -4,7 +4,7 @@ To use MapStruct, you must configure your build to use an 
annotation processor.
 
 ==== Maven
 
-[source,xml]
+[source,xml,subs=attributes+]
 ----
 <plugins>
     <plugin>
@@ -25,7 +25,7 @@ To use MapStruct, you must configure your build to use an 
annotation processor.
 
 ==== Gradle
 
-[source,gradle]
+[source,gradle,subs=attributes+]
 ----
 dependencies {
     annotationProcessor 'org.mapstruct:mapstruct-processor:{mapstruct-version}'

Reply via email to