diff --git a/pom.xml b/pom.xml
index 55973a8d..831e0a9d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -122,6 +122,7 @@
1.5
3.0
1.2.5
+ 0.1.3.RELEASE
@@ -187,7 +188,13 @@
${woodstox.version}
test
-
+
+ io.spring.docresources
+ spring-doc-resources
+ ${docs.resources.version}
+ zip
+ true
+
@@ -520,7 +527,52 @@
docs
+
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+
+
+ unpack-doc-resources
+
+ unpack-dependencies
+
+ generate-resources
+ false
+
+ io.spring.docresources
+ spring-doc-resources
+ zip
+ true
+ ${project.build.directory}/refdocs/
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-resources-plugin
+
+
+ copy-asciidoc-resources
+ generate-resources
+ false
+
+ copy-resources
+
+
+ ${project.build.directory}/refdocs/
+
+
+ src/main/asciidoctor
+ false
+
+
+
+
+
+
org.asciidoctor
asciidoctor-maven-plugin
@@ -536,15 +588,23 @@
html
generate-resources
+ false
process-asciidoc
html5
${project.build.directory}/site/reference/html
- prettify
+ highlight.js
+ // these attributes are required to use the doc resources
+ shared
+ css/
+ spring.css
+ true
font
+ js/highlight
+ github
true
@@ -553,6 +613,7 @@
pdf
generate-resources
+ false
process-asciidoc
@@ -564,7 +625,7 @@
- src/main/asciidoctor
+ ${project.build.directory}/refdocs/
index.adoc
book
@@ -572,7 +633,7 @@
${project.name}
${project.version}
true
- 3
+ 4
true
${project.basedir}
@@ -788,6 +849,14 @@
false
+
+ spring-release
+ Spring Releases
+ https://repo.spring.io/release
+
+ false
+
+
diff --git a/src/main/asciidoctor/index.adoc b/src/main/asciidoctor/index.adoc
index a3966734..2e23dbe9 100644
--- a/src/main/asciidoctor/index.adoc
+++ b/src/main/asciidoctor/index.adoc
@@ -1,18 +1,17 @@
= Spring Web Services Reference Documentation
Arjen Poutsma, Rick Evans, Tareq Abed Rabbo, Greg Turnquist
+:doctype: book
:revnumber: {version}
:revdate: {localdate}
-:toc:
+:toc: left
:toclevels: 4
-:toc-placement!:
+:source-highlighter: prettify
:sectnumlevels: 3
(C) 2005-2017 The original authors.
NOTE: Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically.
-toc::[]
-
:sectnums!:
[[spring-framework-reference]]