blob: 9e471d0f3931bb205acbadfc182474d66fb60336 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import sbtunidoc.Plugin.UnidocKeys._
unidocSettings
scalacOptions in (ScalaUnidoc, unidoc) ++= Seq(
"-groups", // Group similar methods together based on the @group annotation.
"-diagrams", // Show classs hierarchy diagrams (requires 'dot' to be available on path)
"-implicits", // Add methods "inherited" through implicit conversions
"-sourcepath", baseDirectory.value.getAbsolutePath
) ++ {
val latestTag: String = "git describe --abbrev=0".!!
Opts.doc.sourceUrl(
s"https://github.com/jodersky/flow/blob/$latestTag€{FILE_PATH}.scala"
)
}
|