diff options
Diffstat (limited to 'build.sbt')
| -rw-r--r-- | build.sbt | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -1,4 +1,16 @@ +// See LICENSE for license details. +// sbt-site - sbt-ghpages + +site.settings + +site.includeScaladoc() + +ghpages.settings + +git.remoteRepo := "git@github.com:ucb-bar/firrtl.git" + +// Firrtl code organization := "edu.berkeley.cs" @@ -40,3 +52,21 @@ antlr4GenListener in Antlr4 := false // default = true antlr4PackageName in Antlr4 := Option("firrtl.antlr") +// ScalaDoc + +import UnidocKeys._ + +lazy val customUnidocSettings = unidocSettings ++ Seq ( + doc in Compile := (doc in ScalaUnidoc).value, + target in unidoc in ScalaUnidoc := crossTarget.value / "api" +) + +autoAPIMappings := true + +scalacOptions in Compile in doc ++= Seq( + "-diagrams", + "-diagrams-max-classes", "25", + "-doc-version", version.value, + "-doc-title", name.value, + "-doc-root-content", baseDirectory.value+"/root-doc.txt" +) |
