Paradox
The sbt-site plugin has direct support for building Paradox projects.
To enable Paradox site generation, simply enable the associated plugin in your build.sbt
file:
enablePlugins(ParadoxSitePlugin)
This assumes you have a Paradox project under the src/paradox
directory. To change this, set the sourceDirectory
key in the Paradox
scope:
sourceDirectory in Paradox := sourceDirectory.value / "doc"
If you are configuring Paradox from scratch remember to also configure a theme:
paradoxTheme := Some(builtinParadoxTheme("generic"))
Note that Paradox settings such as paradoxProperties
should be scoped to Paradox
instead of Compile
as used in the Paradox documentation. For example to configure an @extref
link prefix use:
paradoxProperties in Paradox ++= Map(
"extref.rfc.base_url" -> "http://tools.ietf.org/html/rfc%s"
)
1.3.1