Skip to content

Commit 0c95991

Browse files
committed
Bundle Javadoc with Antora documentation site.
Closes #585
1 parent 386cc71 commit 0c95991

File tree

6 files changed

+22
-8
lines changed

6 files changed

+22
-8
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ target/
1010
/.idea/
1111
node_modules
1212
node
13-
package.json
1413
package-lock.json
1514
build/
1615
.mvn/.gradle-enterprise

package.json

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"dependencies": {
3+
"antora": "3.2.0-alpha.6",
4+
"@antora/atlas-extension": "1.0.0-alpha.2",
5+
"@antora/collector-extension": "1.0.0-alpha.7",
6+
"@asciidoctor/tabs": "1.0.0-beta.6",
7+
"@springio/antora-extensions": "1.13.0",
8+
"@springio/asciidoctor-extensions": "1.0.0-alpha.11"
9+
}
10+
}

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
<build>
100100
<plugins>
101101
<plugin>
102-
<groupId>io.spring.maven.antora</groupId>
102+
<groupId>org.antora</groupId>
103103
<artifactId>antora-maven-plugin</artifactId>
104104
</plugin>
105105
</plugins>

src/main/antora/antora-playbook.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
# The purpose of this Antora playbook is to build the docs in the current branch.
44
antora:
55
extensions:
6-
- '@antora/collector-extension'
7-
- require: '@springio/antora-extensions/root-component-extension'
6+
- require: '@springio/antora-extensions'
87
root_component_name: 'data-keyvalue'
98
site:
109
title: Spring Data KeyValue
@@ -22,13 +21,12 @@ content:
2221
start_path: src/main/antora
2322
asciidoc:
2423
attributes:
25-
page-pagination: ''
2624
hide-uri-scheme: '@'
2725
tabs-sync-option: '@'
28-
chomp: 'all'
2926
extensions:
3027
- '@asciidoctor/tabs'
3128
- '@springio/asciidoctor-extensions'
29+
- '@springio/asciidoctor-extensions/javadoc-extension'
3230
sourcemap: true
3331
urls:
3432
latest_version_segment: ''
@@ -38,5 +36,5 @@ runtime:
3836
format: pretty
3937
ui:
4038
bundle:
41-
url: https://github.com/spring-io/antora-ui-spring/releases/download/v0.3.5/ui-bundle.zip
39+
url: https://github.com/spring-io/antora-ui-spring/releases/download/v0.4.16/ui-bundle.zip
4240
snapshot: true

src/main/antora/antora.yml

+5
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,8 @@ ext:
1010
local: true
1111
scan:
1212
dir: target/classes/
13+
- run:
14+
command: ./mvnw package -Pdistribute
15+
local: true
16+
scan:
17+
dir: target/antora

src/main/antora/modules/ROOT/nav.adoc

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@
1010
** xref:repositories/query-keywords-reference.adoc[]
1111
** xref:repositories/query-return-types-reference.adoc[]
1212
13-
* https://github.com/spring-projects/spring-data-commons/wiki[Wiki]
13+
* xref:attachment$api/java/index.html[Javadoc,role=link-external,window=_blank]
14+
* https://github.com/spring-projects/spring-data-commons/wiki[Wiki,role=link-external,window=_blank]
15+

0 commit comments

Comments
 (0)