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