Skip to content

Commit

Permalink
Removing x-fatal-warning in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sherpal committed Mar 2, 2024
1 parent 8fa0042 commit 1041185
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,13 @@ inThisBuild(
)
),
crossScalaVersions := Seq("3.2.0", "2.13.5", "2.12.13"),
scalaVersion := crossScalaVersions.value.head
scalaVersion := crossScalaVersions.value.head,
autoAPIMappings := true
)
)



lazy val `url-dsl` = crossProject(JSPlatform, JVMPlatform)
.crossType(CrossType.Pure)
.in(file("url-dsl"))
Expand All @@ -46,7 +49,8 @@ lazy val `url-dsl` = crossProject(JSPlatform, JVMPlatform)
),
(Compile / doc / scalacOptions) ++= Seq(
"-no-link-warnings" // Suppress scaladoc "Could not find any member to link for" warnings
)
),
Compile / doc / scalacOptions ~= ((options: Seq[String]) => options.filterNot(_ == "-Xfatal-warnings"))
)
.jsSettings(
scalacOptions ++= sys.env.get("CI").map { _ =>
Expand Down

0 comments on commit 1041185

Please sign in to comment.