diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/pom.xml b/spring-boot-project/spring-boot-actuator-autoconfigure/pom.xml index 163e0dab35..4cbb6d6033 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/pom.xml +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/pom.xml @@ -14,6 +14,7 @@ Spring Boot Actuator AutoConfigure ${basedir}/../.. + ${project.build.directory}/refdocs/ @@ -635,6 +636,24 @@ + + com.googlecode.maven-download-plugin + download-maven-plugin + + + unpack-doc-resources + generate-resources + + wget + + + https://repo.spring.io/release/io/spring/docresources/spring-doc-resources/${spring-doc-resources.version}/spring-doc-resources-${spring-doc-resources.version}.zip + true + ${refdocs.build.directory} + + + + org.apache.maven.plugins maven-antrun-plugin @@ -705,16 +724,7 @@ - - - - - + @@ -732,7 +742,19 @@ process-asciidoc - html + html5 + ${project.build.directory}/generated-docs/reference/html + highlight.js + book + + js/highlight + atom-one-dark-reasonable + true + ./images + font + css/ + spring.css + @@ -743,11 +765,12 @@ pdf + ${project.build.directory}/generated-docs/reference/pdf - index.adoc + ${refdocs.build.directory} ${version-type} ${project.version} @@ -762,6 +785,28 @@ + + org.apache.maven.plugins + maven-resources-plugin + + + copy-asciidoc-resources + generate-resources + + copy-resources + + + ${refdocs.build.directory} + + + src/main/asciidoc + false + + + + + + org.codehaus.mojo build-helper-maven-plugin diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/asciidoc/index.adoc b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/asciidoc/index.adoc index 00ff14c487..13d48c4e0a 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/asciidoc/index.adoc +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/asciidoc/index.adoc @@ -7,6 +7,7 @@ Andy Wilkinson :numbered: :icons: font :hide-uri-scheme: +:docinfo: shared,private This API documentation describes Spring Boot Actuators web endpoints. diff --git a/spring-boot-project/spring-boot-parent/pom.xml b/spring-boot-project/spring-boot-parent/pom.xml index 743eb0e3ea..660e637b93 100644 --- a/spring-boot-project/spring-boot-parent/pom.xml +++ b/spring-boot-project/spring-boot-parent/pom.xml @@ -294,6 +294,13 @@ org.asciidoctor asciidoctor-maven-plugin 1.5.7.1 + + + org.asciidoctor + asciidoctorj + 1.5.8 + + org.apache.maven.plugins