The sbt-site plugin has direct support for building Pamflet projects. To enable Pamflet site generation, simply enable the associated plugin in your build.sbt file:


This assumes you have a Pamflet project under the src/pamflet directory. To change this, set the sourceDirectory key in the Pamflet scope:

Pamflet / sourceDirectory := sourceDirectory.value / "papyrus"

Similarly, the output can be redirected to a subdirectory of target/site via the siteSubdirName key in Pamflet scope:

// Puts output in `target/site/parchment`
siteSubdirName in Pamflet := "parchment"