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