diff --git a/build.sbt b/build.sbt index cd0949fc2c7..750a7805fc3 100644 --- a/build.sbt +++ b/build.sbt @@ -196,6 +196,10 @@ lazy val chisel = (project in file(".")) mimaPreviousArtifacts := Set(), libraryDependencies += defaultVersions("treadle") % "test", Test / scalacOptions ++= Seq("-language:reflectiveCalls"), + // Forward doc command to unidoc + Compile / doc := (ScalaUnidoc / doc).value, + // Include unidoc as the ScalaDoc for publishing + Compile / packageDoc / mappings := (ScalaUnidoc / packageDoc / mappings).value, Compile / doc / scalacOptions ++= Seq( "-diagrams", "-groups",