Sphinx

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

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

sourceenablePlugins(SphinxPlugin)

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

Sphinx / sourceDirectory := sourceDirectory.value / "androsphinx"

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

source// Puts output in `target/site/giza`
Sphinx / siteSubdirName := "giza"