Skip to content

Commit

Permalink
Publish unidoc as ScalaDoc in chisel project (#2595)
Browse files Browse the repository at this point in the history
This makes it such that we can stop hosting ScalaDoc on the Chisel
website, instead just pointing to the latest docs on javadoc.io
  • Loading branch information
jackkoenig authored Jun 22, 2022
1 parent 4da410e commit 8b9f3d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8b9f3d7

Please sign in to comment.