Skip to content

Commit

Permalink
Merge pull request #996 from typelevel/update/series/0.6.x/sbt-typele…
Browse files Browse the repository at this point in the history
…vel-0.6.0

Update sbt-typelevel, sbt-typelevel-site to 0.6.0 in series/0.6.x
  • Loading branch information
armanbilge authored Oct 18, 2023
2 parents a41cc05 + c704b16 commit 3f51b80
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
20 changes: 8 additions & 12 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -243,22 +243,18 @@ lazy val docs = project
"org.tpolecat" %%% "natchez-jaeger" % natchezVersion,
),
laikaConfig := {
import laika.rewrite.link._
import laika.config._

laikaConfig.value.withRawContent
.withConfigValue("version", mdocVariables.value("VERSION"))
.withConfigValue(
LinkConfig(apiLinks =
List(
ApiLinks(
baseUri = s"https://www.javadoc.io/doc/org.tpolecat/skunk-docs_${scalaBinaryVersion.value}/${mdocVariables.value("VERSION")}/",
packagePrefix = "skunk"
),
ApiLinks(
baseUri = s"https://www.javadoc.io/doc/co.fs2/fs2-docs_${scalaBinaryVersion.value}/$fs2Version/",
packagePrefix = "fs2"
),
)
LinkConfig.empty.addApiLinks(
ApiLinks(
s"https://www.javadoc.io/doc/org.tpolecat/skunk-docs_${scalaBinaryVersion.value}/${mdocVariables.value("VERSION")}/"
).withPackagePrefix("skunk"),
ApiLinks(
s"https://www.javadoc.io/doc/co.fs2/fs2-docs_${scalaBinaryVersion.value}/$fs2Version/"
).withPackagePrefix("fs2")
)
)
}
Expand Down
4 changes: 2 additions & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ ThisBuild / libraryDependencySchemes ++= Seq(
"org.scala-lang.modules" %% "scala-xml" % VersionScheme.Always
)

addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.5.4")
addSbtPlugin("org.typelevel" % "sbt-typelevel-site" % "0.5.4")
addSbtPlugin("org.typelevel" % "sbt-typelevel" % "0.6.0")
addSbtPlugin("org.typelevel" % "sbt-typelevel-site" % "0.6.0")
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.4")
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.3.8")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.9")
Expand Down

0 comments on commit 3f51b80

Please sign in to comment.