Convert to Asciidoctor Tabs

This commit is contained in:
Rob Winch
2023-07-20 22:25:39 -05:00
committed by Rossen Stoyanchev
parent 91feee745e
commit 9a4b72935d
3 changed files with 16 additions and 6 deletions

View File

@@ -5,8 +5,6 @@ antora:
- require: '@springio/antora-extensions/inject-collector-cache-config-extension'
- '@antora/collector-extension'
- '@antora/atlas-extension'
- require: '@springio/antora-extensions/tabs-migration-extension'
unwrap_example_block: always
- require: '@springio/antora-extensions/root-component-extension'
root_component_name: 'graphql'
site:

View File

@@ -68,8 +68,11 @@ https://querydsl.com/static/querydsl/latest/reference/html/ch02.html[official re
For example:
[tabs]
======
Gradle::
+
[source,groovy,indent=0,subs="verbatim,quotes,attributes",role="primary"]
.Gradle
----
dependencies {
//...
@@ -83,8 +86,10 @@ compileJava {
options.annotationProcessorPath = configurations.annotationProcessor
}
----
Maven::
+
[source,xml,indent=0,subs="verbatim,quotes,attributes",role="secondary"]
.Maven
----
<dependencies>
<!-- ... -->
@@ -126,6 +131,7 @@ compileJava {
</plugin>
</plugins>
----
======
The {github-10x-branch}/samples/webmvc-http[webmvc-http] sample uses Querydsl for
`artifactRepositories`.

View File

@@ -6,16 +6,21 @@ WebSocket, and RSocket, as well as for testing directly against a server.
To make use of this, add `spring-graphql-test` to your build:
[tabs]
======
Gradle::
+
[source,groovy,indent=0,subs="verbatim,quotes,attributes",role="primary"]
.Gradle
----
dependencies {
// ...
testImplementation 'org.springframework.graphql:spring-graphql-test:{spring-graphql-version}'
}
----
Maven::
+
[source,xml,indent=0,subs="verbatim,quotes,attributes",role="secondary"]
.Maven
----
<dependencies>
<!-- ... -->
@@ -27,6 +32,7 @@ dependencies {
</dependency>
</dependencies>
----
======