From c51ccee18ce1080df870df0deaf8cef2f6f62bbf Mon Sep 17 00:00:00 2001 From: Jack Koenig Date: Tue, 21 Jun 2022 18:09:43 -0700 Subject: [PATCH] Publish unidoc as ScalaDoc in chisel project This makes it such that we can stop hosting ScalaDoc on the Chisel website, instead just pointing to the latest docs on javadoc.io --- build.sbt | 4 ++++ 1 file changed, 4 insertions(+) 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",