Asciidoctor
The sbt-site plugin has direct support for building Asciidoctor projects. To enable Asciidoctor site generation, simply enable the associated plugin in your build.sbt
file:
enablePlugins(AsciidoctorPlugin)
This assumes you have an Asciidoctor project under the src/asciidoctor
directory. To change this, set the sourceDirectory
key in the Asciidoctor
scope:
sourceDirectory in Asciidoctor := sourceDirectory.value / "asciimd"
Similarly, the output can be redirected to a subdirectory of target/site
via the siteSubdirName
key in Asciidoctor
scope:
// Puts output in `target/site/asciimd`
siteSubdirName in Asciidoctor := "asciimd"
1.3.1