Skip to content

Commit 4202b09

Browse files
committed
Migrate documentation to Antora.
Closes #1597
1 parent f71b41f commit 4202b09

File tree

78 files changed

+1934
-2092
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+1934
-2092
lines changed

.gitignore

+5-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ target/
1111
*.graphml
1212
*.json
1313

14+
build/
15+
node_modules
16+
node
17+
1418
#prevent license accepting file to get accidentially commited to git
1519
container-license-acceptance.txt
1620
spring-data-jdbc/src/test/java/org/springframework/data/ProxyImageNameSubstitutor.java
17-
spring-data-r2dbc/src/test/java/org/springframework/data/ProxyImageNameSubstitutor.java
21+
spring-data-r2dbc/src/test/java/org/springframework/data/ProxyImageNameSubstitutor.java

README.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,10 @@ Building the documentation builds also the project without running tests.
184184

185185
[source,bash]
186186
----
187-
$ ./mvnw clean install -Pdistribute
187+
$ ./mvnw clean install -Pantora
188188
----
189189

190-
The generated documentation is available from `target/site/reference/html/index.html`.
190+
The generated documentation is available from `spring-data-jdbc-distribution/target/antora/site/index.html`.
191191

192192
== Modules
193193

spring-data-jdbc-distribution/pom.xml

+19-4
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,33 @@
2020

2121
<properties>
2222
<project.root>${basedir}/..</project.root>
23-
<dist.key>SDJDBC</dist.key>
23+
<antora.playbook>${project.basedir}/../src/main/antora/antora-playbook.yml</antora.playbook>
2424
</properties>
2525

2626
<build>
27+
<resources>
28+
<resource>
29+
<directory>${project.basedir}/../src/main/antora/resources/antora-resources</directory>
30+
<filtering>true</filtering>
31+
</resource>
32+
</resources>
2733
<plugins>
2834
<plugin>
2935
<groupId>org.apache.maven.plugins</groupId>
30-
<artifactId>maven-assembly-plugin</artifactId>
36+
<artifactId>maven-resources-plugin</artifactId>
37+
<executions>
38+
<execution>
39+
<goals>
40+
<goal>resources</goal>
41+
</goals>
42+
</execution>
43+
</executions>
44+
3145
</plugin>
46+
3247
<plugin>
33-
<groupId>org.asciidoctor</groupId>
34-
<artifactId>asciidoctor-maven-plugin</artifactId>
48+
<groupId>io.spring.maven.antora</groupId>
49+
<artifactId>antora-maven-plugin</artifactId>
3550
</plugin>
3651
</plugins>
3752
</build>

spring-data-r2dbc/src/main/asciidoc/index.adoc

-54
This file was deleted.

spring-data-r2dbc/src/main/asciidoc/preface.adoc

-122
This file was deleted.

spring-data-r2dbc/src/main/asciidoc/reference/introduction.adoc

-10
This file was deleted.

0 commit comments

Comments
 (0)