The sbt-site plugin has direct support for building Nanoc projects. To enable Nanoc site generation, simply enable the associated plugin in your
The nanoc integration is not (yet) included in this version of sbt-site.
This assumes you have a Nanoc project under the
src/nanoc directory. To change this, set the
sourceDirectory key in the
Nanoc / sourceDirectory := sourceDirectory.value / "conan"
Similarly, the output can be redirected to a subdirectory of
target/site via the
siteSubdirName key in
// Puts output in `target/site/conan` Nanoc / siteSubdirName := "conan"