diff --git a/docs/pom.xml b/docs/pom.xml index 5cd33448..f188f70c 100644 --- a/docs/pom.xml +++ b/docs/pom.xml @@ -37,12 +37,12 @@ - org.asciidoctor - asciidoctor-maven-plugin + org.apache.maven.plugins + maven-dependency-plugin - com.agilejava.docbkx - docbkx-maven-plugin + org.asciidoctor + asciidoctor-maven-plugin org.apache.maven.plugins diff --git a/pom.xml b/pom.xml index 5d158961..5f9a99d1 100644 --- a/pom.xml +++ b/pom.xml @@ -27,6 +27,10 @@ 2.1.1.RELEASE 2.1.0.BUILD-SNAPSHOT ${project.build.directory}/build-docs + 0.1.0.RELEASE + 0.1.0.RELEASE + + 1.5.0-alpha.16 jacoco @@ -55,8 +59,7 @@ 3.0.0-M2 1.6 3.1.1 - 1.5.7 - 2.0.17 + 1.5.7.1 3.0.0 2.2.1 1.16 @@ -150,9 +153,6 @@ limitations under the License. - - 3.0.0 - @@ -547,6 +547,11 @@ limitations under the License. false + + spring-plugins + Spring Maven Plugins Repository + https://repo.spring.io/plugins-release + @@ -704,19 +709,57 @@ limitations under the License. - org.springframework.cloud - spring-cloud-build-docs - ${spring-cloud-build.version} - sources - jar - false - ${docs.resources.dir} + io.spring.docresources + spring-doc-resources + ${spring-doc-resources.version} + zip + true + ${project.build.directory}/refdocs/ + + org.apache.maven.plugins + maven-resources-plugin + + + copy-asciidoc-resources + generate-resources + + copy-resources + + + ${project.build.directory}/refdocs/ + + + src/main/asciidoc + + ghpages.sh + + + + + + + copy-bash-resources + generate-resources + + copy-resources + + + ${project.build.directory}/ruby/ + + + src/main/ruby + + + + + + org.asciidoctor asciidoctor-maven-plugin @@ -725,135 +768,44 @@ limitations under the License. io.spring.asciidoctor spring-asciidoctor-extensions - 0.1.0.RELEASE + ${spring-asciidoctor-extensions.version} + + + org.asciidoctor + asciidoctorj-pdf + ${asciidoctorj-pdf.version} + + ${project.build.directory}/refdocs/ + ${docs.main}.adoc + - generate-docbook + generate-html-documentation prepare-package process-asciidoc - ${docs.main}.adoc - docbook5 + html5 + highlight.js book - true - ${spring-boot.version} - ${project.version} + // these attributes are required to use the doc resources + shared + css/ + spring.css + true + font + js/highlight + atom-one-dark-reasonable true - unsafe + + left + 4 - - - - generate-index - process-resources - - process-asciidoc - - - ${docs.main}.adoc - ${basedir}/target/generated-index/ - html - article - - true - ${project.version} - true - unsafe - prettify - ${docs.main} - - - - - - - com.agilejava.docbkx - docbkx-maven-plugin - ${docbkx-maven-plugin.version} - - ${basedir}/target/generated-docs - ${docs.main}.xml - true - false - ${docs.resources.dir}/docbook/xsl/pdf.xsl - 1 - 1 - ${docs.resources.dir}/docbook/xsl/xslthl-config.xml - - - - net.sf.xslthl - xslthl - 2.1.0 - - - net.sf.docbook - docbook-xml - 5.0-all - resources - zip - runtime - - - - - html-single - - generate-html - - prepare-package - - ${docs.resources.dir}/docbook/xsl/html-singlepage.xsl - ${basedir}/target/docbook/htmlsingle - - - - - - - - - - - - - - - - - - - html - - generate-html - - prepare-package - - ${docs.resources.dir}/docbook/xsl/html-multipage.xsl - ${basedir}/target/docbook/html - - multi_ - true - - - - - - - - - - - - - - - + ${docs.main}.html @@ -898,7 +850,7 @@ limitations under the License. org.asciidoctor asciidoctorj - 1.5.2 + 1.5.8 @@ -918,66 +870,6 @@ limitations under the License. - - copy-css - process-resources - - run - - - - - - - - - - - - - - generate-documentation-index - generate-resources - - run - - - - -:nofooter: -:linkcss: -:stylesdir: css -:stylesheet: manual-singlepage.css - -= {docs-main} - -{spring-cloud-version} - -== Pick The Documentation Option - -- link:single/{docs-main}.html[Single HTML] -- link:multi/multi_{docs-main}.html[Multi HTML] - - - - - - copy-generated-html - prepare-package - - run - - - - - - - - - - - - assert-no-unresolved-links prepare-package @@ -986,7 +878,7 @@ limitations under the License. - +