diff --git a/pom.xml b/pom.xml
index f0a19d35..620f6c77 100644
--- a/pom.xml
+++ b/pom.xml
@@ -28,6 +28,7 @@
spring-vault
${basedir}
${project.build.directory}/shared-resources
+ ${project.build.directory}/doc-resources
@@ -546,6 +547,13 @@
+
+ org.springframework.doc-resources
+ spring-doc-resources
+ 0.1.1-SNAPSHOT
+ provided
+ zip
+
org.springframework.data.build
spring-data-build-resources
@@ -560,33 +568,55 @@
org.apache.maven.plugins
maven-dependency-plugin
+
unpack-shared-resources
unpack-dependencies
generate-resources
+
+ org.springframework.data
+
+ spring-data-build-resources
+
+ zip
+ true
+ ${shared.resources}
+
+
+
+
+ unpack-doc-resource
+
+ unpack-dependencies
+
+ generate-resources
+
+ org.springframework.doc-resources
+
+ spring-doc-resources
+
+ zip
+ true
+ ${doc.resources}
+
+
+
+
-
- org.springframework.data
- spring-data-build-resources
-
- zip
- true
- ${shared.resources}
-
@@ -603,83 +633,148 @@
-
-
-
- org.apache.maven.plugins
- maven-antrun-plugin
-
-
-
- copy-documentation-resources
- generate-resources
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- run
-
-
-
-
- collect-schema-files
- process-resources
-
-
-
-
-
-
-
-
-
-
-
- run
-
-
-
-
- rename-reference-docs
- process-resources
-
-
-
-
-
-
-
- run
-
-
-
-
-
-
-
+
+
+
+ org.apache.maven.plugins
+ maven-antrun-plugin
+
+
+
+ copy-documentation-resources
+ generate-resources
+
+
+
+
+
+
+
+
+
+
+
+
+
+ run
+
+
+
+
+ collect-schema-files
+ process-resources
+
+
+
+
+
+
+
+
+
+
+
+ run
+
+
+
+
+ create-docs-working-directory
+ generate-resources
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ run
+
+
+
+
+ rename-reference-docs
+ prepare-package
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ run
+
+
+
+
+
+
+
@@ -703,14 +798,19 @@
html
- generate-resources
+ process-resources
process-asciidoc
+
+ ${project.build.directory}/working
+
+ index.adoc
+
html5
- ${project.root}/target/site/reference/html
+ ${project.build.directory}/generated-docs
false
prettify
@@ -718,7 +818,10 @@
true
font
true
+ ./stylesheets
spring.css
+ shared
+ left
@@ -730,7 +833,16 @@
process-asciidoc
+
+ ${project.build.directory}/working
+
+ index.adoc
+
epub3
+
+ ${project.build.directory}/generated-docs
+
+ false
coderay
@@ -742,7 +854,16 @@
process-asciidoc
+
+ ${project.build.directory}/working
+
+ index.adoc
+
pdf
+
+ ${project.build.directory}/generated-docs
+
+ false
coderay
@@ -750,9 +871,6 @@
- ${project.root}/src/main/asciidoc
-
- index.adoc
book
${project.version}
@@ -761,7 +879,7 @@
${spring.version}
${spring-data-releasetrain.version}
true
- 3
+ 4
true
diff --git a/spring-vault-distribution/pom.xml b/spring-vault-distribution/pom.xml
index f078fe1a..a83f21ca 100644
--- a/spring-vault-distribution/pom.xml
+++ b/spring-vault-distribution/pom.xml
@@ -23,6 +23,10 @@
+
+ org.apache.maven.plugins
+ maven-antrun-plugin
+
org.apache.maven.plugins
maven-assembly-plugin
diff --git a/src/main/asciidoc/index.adoc b/src/main/asciidoc/index.adoc
index d8301a81..e1d9f975 100644
--- a/src/main/asciidoc/index.adoc
+++ b/src/main/asciidoc/index.adoc
@@ -2,8 +2,14 @@
Mark Paluch;
:revnumber: {version}
:revdate: {localdate}
-:toc: macro
-:toc-placement!:
+:linkcss:
+:doctype: book
+:docinfo: shared
+:toc: left
+:toclevels: 4
+:source-highlighter: prettify
+:icons: font
+:imagesdir: images
:spring-framework-docs: https://docs.spring.io/spring/docs/{springVersion}/spring-framework-reference/
:self-docs-root: https://docs.spring.io/spring-vault/docs/{version}/
diff --git a/src/main/asciidoc/preface.adoc b/src/main/asciidoc/preface.adoc
index 83df2d87..843a0f65 100644
--- a/src/main/asciidoc/preface.adoc
+++ b/src/main/asciidoc/preface.adoc
@@ -7,7 +7,7 @@ This document is the reference guide for Spring Vault. It explains Vault concept
This part of the reference documentation explains the core functionality offered by Spring Vault.
-<> introduces the Vault module feature set.
+<> introduces the Vault module feature set.
== Document Structure