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 9be20b7862 Fix AsciiDoc attribute substitution in MapStruct and Jasypt 
documentation
9be20b7862 is described below

commit 9be20b7862b5794df20d1f7976d24b4a7b23c3db
Author: James Netherton <jamesnether...@gmail.com>
AuthorDate: Tue Apr 23 15:28:22 2024 +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 4d4b25d461..745fa33d68 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..aaa9c9a2b8 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..f56050e4da 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..60e073a64c 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