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:

The Pamflet integration is not (yet) included in this version of sbt-site.


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:

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