2m / sbt-paradox-local   0.2

GitHub

Build paradox documentation with locally linked API docs

Scala versions: 2.12
sbt plugins: 1.0

This plugin adds a Local sbt configuration to the sbt-paradox enabled projects which then can be used to generate paradox documentation with local API links.

Usage

Add this to your sbt build plugins in project/plugins.sbt:

addSbtPlugin("lt.dvim.paradox" % "sbt-paradox-local" % "0.2")

Set values for the following sbt keys:

// paradox properties key for the local project api base url
paradoxLocalApiKey := "scaladoc.<my.project>.base_url"

// directory where the local API scaladoc can be found
paradoxLocalApiDir := (myProject / Compile / doc).value

This plugin is then enabled automatically and you can use Local/paradox task to generate documentation with links to the locally generated API docs.