Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix AsciiDoc attribute substitution in MapStruct and Jasypt documentation #6032

Merged
merged 1 commit into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/reference/extensions/jasypt.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
----
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/reference/extensions/mapstruct.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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}'
Expand Down
2 changes: 1 addition & 1 deletion extensions/jasypt/runtime/src/main/doc/usage.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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"
----
Expand Down
4 changes: 2 additions & 2 deletions extensions/mapstruct/runtime/src/main/doc/usage.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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}'
Expand Down