aboutsummaryrefslogtreecommitdiff
path: root/unidoc.sbt
diff options
context:
space:
mode:
authorJakob Odersky <jodersky@gmail.com>2015-12-12 11:44:39 -0800
committerJakob Odersky <jodersky@gmail.com>2015-12-16 21:55:45 -0800
commit7453888b0188a2aeff06b8e9893118b889f8d828 (patch)
tree8e6ef2498ff2aaeac7241f3df71200c422f0f1cb /unidoc.sbt
parenteab2e148c7605ca0fd836bbe9230734895cce7d0 (diff)
downloadakka-serial-7453888b0188a2aeff06b8e9893118b889f8d828.tar.gz
akka-serial-7453888b0188a2aeff06b8e9893118b889f8d828.tar.bz2
akka-serial-7453888b0188a2aeff06b8e9893118b889f8d828.zip
create website
Diffstat (limited to 'unidoc.sbt')
-rw-r--r--unidoc.sbt15
1 files changed, 15 insertions, 0 deletions
diff --git a/unidoc.sbt b/unidoc.sbt
new file mode 100644
index 0000000..9e471d0
--- /dev/null
+++ b/unidoc.sbt
@@ -0,0 +1,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"
+ )
+}