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:
Brian Clozel 2020-11-10 15:27:05 +01:00
parent c7454c3c85
commit 1a0e9a44c6
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,6 @@ Finally, launch the documentation generation process (the default output locatio
</goals>
<configuration>
<backend>html5</backend>
<sourceHighlighter>highlight.js</sourceHighlighter>
<doctype>book</doctype>
<attributes>
// 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>
<highlightjsdir>js/highlight</highlightjsdir>
<highlightjs-theme>github</highlightjs-theme>
<source-highlighter>highlight.js</source-highlighter>
</attributes>
</configuration>
</execution>