Fix maven asciidoctor sample configuration
Since its 2.0 version, the plugin moved some configuration flags as proper attributes. This is the case for `sourceHilighter`. See https://github.com/asciidoctor/asciidoctor-maven-plugin/blob/master/docs/v2-migration-guide.adoc#23-removal-of-sourcehighlighter
This commit is contained in:
parent
c7454c3c85
commit
1a0e9a44c6
|
@ -83,7 +83,6 @@ Finally, launch the documentation generation process (the default output locatio
|
||||||
</goals>
|
</goals>
|
||||||
<configuration>
|
<configuration>
|
||||||
<backend>html5</backend>
|
<backend>html5</backend>
|
||||||
<sourceHighlighter>highlight.js</sourceHighlighter>
|
|
||||||
<doctype>book</doctype>
|
<doctype>book</doctype>
|
||||||
<attributes>
|
<attributes>
|
||||||
// these attributes are required to use the doc resources
|
// these attributes are required to use the doc resources
|
||||||
|
@ -94,6 +93,7 @@ Finally, launch the documentation generation process (the default output locatio
|
||||||
<icons>font</icons>
|
<icons>font</icons>
|
||||||
<highlightjsdir>js/highlight</highlightjsdir>
|
<highlightjsdir>js/highlight</highlightjsdir>
|
||||||
<highlightjs-theme>github</highlightjs-theme>
|
<highlightjs-theme>github</highlightjs-theme>
|
||||||
|
<source-highlighter>highlight.js</source-highlighter>
|
||||||
</attributes>
|
</attributes>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
|
Loading…
Reference in New Issue