From 1041185b4a7261637376dd81934244c68a9aafdf Mon Sep 17 00:00:00 2001 From: Antoine Doeraene Date: Sat, 2 Mar 2024 08:25:30 +0100 Subject: [PATCH] Removing x-fatal-warning in docs --- build.sbt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index abbd349..69739a1 100644 --- a/build.sbt +++ b/build.sbt @@ -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")) @@ -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 { _ =>