diff --git a/pom.xml b/pom.xml index 3ca62d77..f9c41e87 100644 --- a/pom.xml +++ b/pom.xml @@ -119,6 +119,7 @@ 1.5 3.0 1.2.5 + 0.1.3.RELEASE @@ -184,7 +185,13 @@ ${woodstox.version} test - + + io.spring.docresources + spring-doc-resources + ${docs.resources.version} + zip + true + @@ -466,7 +473,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 @@ -482,15 +534,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 @@ -499,6 +559,7 @@ pdf generate-resources + false process-asciidoc @@ -510,7 +571,7 @@ - src/main/asciidoctor + ${project.build.directory}/refdocs/ index.adoc book @@ -518,7 +579,7 @@ ${project.name} ${project.version} true - 3 + 4 true ${project.basedir} @@ -731,6 +792,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]]