diff options
| author | Jim Lawson | 2017-01-05 10:09:11 -0800 |
|---|---|---|
| committer | Jim Lawson | 2017-01-05 10:09:11 -0800 |
| commit | efc367e883ffd8c0a239f04943e4bda5ce356da4 (patch) | |
| tree | 280daa55255c51f03600a65802c2274bc55d3176 /build.sbt | |
| parent | 8a1cdf15d131e086ddc9de6bfe8cd90ed7fb3eb7 (diff) | |
Fix ScalaDoc complaints; add sbt-site, sbt-ghpages boilerplate.
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" +) |
