Skip to content

Commit 9a4b729

Browse files
rwinchrstoyanchev
authored andcommitted
Convert to Asciidoctor Tabs
1 parent 91feee7 commit 9a4b729

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

spring-graphql-docs/antora-playbook.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ antora:
55
- require: '@springio/antora-extensions/inject-collector-cache-config-extension'
66
- '@antora/collector-extension'
77
- '@antora/atlas-extension'
8-
- require: '@springio/antora-extensions/tabs-migration-extension'
9-
unwrap_example_block: always
108
- require: '@springio/antora-extensions/root-component-extension'
119
root_component_name: 'graphql'
1210
site:

spring-graphql-docs/modules/ROOT/pages/data.adoc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,11 @@ https://querydsl.com/static/querydsl/latest/reference/html/ch02.html[official re
6868

6969
For example:
7070

71+
[tabs]
72+
======
73+
Gradle::
74+
+
7175
[source,groovy,indent=0,subs="verbatim,quotes,attributes",role="primary"]
72-
.Gradle
7376
----
7477
dependencies {
7578
//...
@@ -83,8 +86,10 @@ compileJava {
8386
options.annotationProcessorPath = configurations.annotationProcessor
8487
}
8588
----
89+
90+
Maven::
91+
+
8692
[source,xml,indent=0,subs="verbatim,quotes,attributes",role="secondary"]
87-
.Maven
8893
----
8994
<dependencies>
9095
<!-- ... -->
@@ -126,6 +131,7 @@ compileJava {
126131
</plugin>
127132
</plugins>
128133
----
134+
======
129135

130136
The {github-10x-branch}/samples/webmvc-http[webmvc-http] sample uses Querydsl for
131137
`artifactRepositories`.

spring-graphql-docs/modules/ROOT/pages/testing.adoc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,21 @@ WebSocket, and RSocket, as well as for testing directly against a server.
66

77
To make use of this, add `spring-graphql-test` to your build:
88

9+
[tabs]
10+
======
11+
Gradle::
12+
+
913
[source,groovy,indent=0,subs="verbatim,quotes,attributes",role="primary"]
10-
.Gradle
1114
----
1215
dependencies {
1316
// ...
1417
testImplementation 'org.springframework.graphql:spring-graphql-test:{spring-graphql-version}'
1518
}
1619
----
20+
21+
Maven::
22+
+
1723
[source,xml,indent=0,subs="verbatim,quotes,attributes",role="secondary"]
18-
.Maven
1924
----
2025
<dependencies>
2126
<!-- ... -->
@@ -27,6 +32,7 @@ dependencies {
2732
</dependency>
2833
</dependencies>
2934
----
35+
======
3036

3137

3238

0 commit comments

Comments
 (0)