Skip to content

Commit

Permalink
Merge pull request quarkusio#41617 from jmartisk/main-extract-docs-ma…
Browse files Browse the repository at this point in the history
…cros

Extract macros in docs to avoid breaking regexes
  • Loading branch information
gsmet authored Jul 2, 2024
2 parents 16c6ef9 + a2facf1 commit dbf1368
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions docs/src/main/asciidoc/security-openid-connect-client.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,14 @@ ifndef::no-quarkus-oidc-token-propagation[]
<artifactId>quarkus-rest</artifactId>
</dependency>
----

[source,gradle,role="secondary asciidoc-tabs-target-sync-gradle"]
.build.gradle
----
implementation("io.quarkus:quarkus-oidc,rest-client-oidc-filter,rest-client-oidc-token-propagation,rest")
----
endif::no-quarkus-oidc-token-propagation[]

ifdef::no-quarkus-oidc-token-propagation[]
[source,xml,role="primary asciidoc-tabs-target-sync-cli asciidoc-tabs-target-sync-maven"]
.pom.xml
Expand All @@ -135,16 +142,7 @@ ifdef::no-quarkus-oidc-token-propagation[]
<artifactId>quarkus-rest</artifactId>
</dependency>
----
endif::no-quarkus-oidc-token-propagation[]

ifndef::no-quarkus-oidc-token-propagation[]
[source,gradle,role="secondary asciidoc-tabs-target-sync-gradle"]
.build.gradle
----
implementation("io.quarkus:quarkus-oidc,rest-client-oidc-filter,rest-client-oidc-token-propagation,rest")
----
endif::no-quarkus-oidc-token-propagation[]
ifdef::no-quarkus-oidc-token-propagation[]
[source,gradle,role="secondary asciidoc-tabs-target-sync-gradle"]
.build.gradle
----
Expand Down

0 comments on commit dbf1368

Please sign in to comment.