#100 - Improved build setup for reference documentation.
Upgraded to Asciidoctor 1.5.0 Maven plugin. Disable the use of the custom stylesheet to benefit from the improved styles used in the new Asciidoctor version. Removed the creation of the chunked HTML output via the Docbook plugin to prevent it overriding the Asciidoctor output.
This commit is contained in:
@@ -251,36 +251,6 @@
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
<!-- Configuration for chunked HTML generation -->
|
||||
<execution>
|
||||
<id>html</id>
|
||||
<goals>
|
||||
<goal>generate-html</goal>
|
||||
</goals>
|
||||
<phase>package</phase>
|
||||
<configuration>
|
||||
<chunkedOutput>true</chunkedOutput>
|
||||
<targetDirectory>${project.build.directory}/docbkx/html</targetDirectory>
|
||||
<htmlCustomization>${shared.resources}/docbkx/xsl/html-multipage.xsl</htmlCustomization>
|
||||
<imgSrcPath>images/</imgSrcPath>
|
||||
<postProcess>
|
||||
<copy todir="${project.build.directory}/site/reference/html">
|
||||
<fileset dir="${project.build.directory}/docbkx/html/index">
|
||||
<include name="**/*.html"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<copy todir="${project.build.directory}/site/reference/html">
|
||||
<fileset dir="${shared.resources}/docbkx">
|
||||
<include name="**/*.css"/>
|
||||
<include name="**/*.png"/>
|
||||
<include name="**/*.gif"/>
|
||||
<include name="**/*.jpg"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</postProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
</executions>
|
||||
|
||||
<dependencies>
|
||||
@@ -420,7 +390,7 @@
|
||||
<plugin>
|
||||
<groupId>org.asciidoctor</groupId>
|
||||
<artifactId>asciidoctor-maven-plugin</artifactId>
|
||||
<version>0.1.4</version>
|
||||
<version>1.5.0</version>
|
||||
<executions>
|
||||
|
||||
<execution>
|
||||
@@ -438,7 +408,6 @@
|
||||
<numbered>true</numbered>
|
||||
<icons>font</icons>
|
||||
<sectanchors>true</sectanchors>
|
||||
<stylesheet>spring.css</stylesheet>
|
||||
</attributes>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
||||
Reference in New Issue
Block a user