diff --git a/docs/pom.xml b/docs/pom.xml index f188f70c..5cd33448 100644 --- a/docs/pom.xml +++ b/docs/pom.xml @@ -36,14 +36,14 @@ docs - - org.apache.maven.plugins - maven-dependency-plugin - org.asciidoctor asciidoctor-maven-plugin + + com.agilejava.docbkx + docbkx-maven-plugin + org.apache.maven.plugins maven-antrun-plugin diff --git a/pom.xml b/pom.xml index 5f9a99d1..5d158961 100644 --- a/pom.xml +++ b/pom.xml @@ -27,10 +27,6 @@ 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 @@ -59,7 +55,8 @@ 3.0.0-M2 1.6 3.1.1 - 1.5.7.1 + 1.5.7 + 2.0.17 3.0.0 2.2.1 1.16 @@ -153,6 +150,9 @@ limitations under the License. + + 3.0.0 + @@ -547,11 +547,6 @@ limitations under the License. false - - spring-plugins - Spring Maven Plugins Repository - https://repo.spring.io/plugins-release - @@ -709,57 +704,19 @@ limitations under the License. - io.spring.docresources - spring-doc-resources - ${spring-doc-resources.version} - zip - true - ${project.build.directory}/refdocs/ + org.springframework.cloud + spring-cloud-build-docs + ${spring-cloud-build.version} + sources + jar + false + ${docs.resources.dir} - - 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 @@ -768,44 +725,135 @@ limitations under the License. io.spring.asciidoctor spring-asciidoctor-extensions - ${spring-asciidoctor-extensions.version} - - - org.asciidoctor - asciidoctorj-pdf - ${asciidoctorj-pdf.version} + 0.1.0.RELEASE - - ${project.build.directory}/refdocs/ - ${docs.main}.adoc - - generate-html-documentation + generate-docbook prepare-package process-asciidoc - html5 - highlight.js + ${docs.main}.adoc + docbook5 book - // these attributes are required to use the doc resources - shared - css/ - spring.css - true - font - js/highlight - atom-one-dark-reasonable + true + ${spring-boot.version} + ${project.version} true - - left - 4 + unsafe - ${docs.main}.html + + + + 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 + + + + + + + + + + + + + + + @@ -850,7 +898,7 @@ limitations under the License. org.asciidoctor asciidoctorj - 1.5.8 + 1.5.2 @@ -870,6 +918,66 @@ 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 @@ -878,7 +986,7 @@ limitations under the License. - +