Skip to content

Commit

Permalink
Merge pull request #4527 from typelevel/update/sbt-typelevel-0.6.0
Browse files Browse the repository at this point in the history
Update sbt-typelevel, sbt-typelevel-site to 0.6.0
  • Loading branch information
armanbilge authored Oct 18, 2023
2 parents bb97dc3 + e4d635c commit 959b773
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
11 changes: 3 additions & 8 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -279,20 +279,15 @@ lazy val docs = project
mdocVariables += ("API_LINK_BASE" -> s"https://www.javadoc.io/doc/org.typelevel/cats-docs_2.13/${mdocVariables
.value("VERSION")}/"),
laikaConfig := {
import laika.rewrite.link._
import laika.config._

laikaConfig.value.withRawContent
.withConfigValue("version", mdocVariables.value("VERSION"))
.withConfigValue(
LinkConfig.empty
.addApiLinks(
ApiLinks(
baseUri = s"https://www.javadoc.io/doc/org.typelevel/cats-docs_2.13/${mdocVariables.value("VERSION")}/"
),
ApiLinks(
baseUri = s"https://www.scala-lang.org/api/$Scala213/",
packagePrefix = "scala"
)
ApiLinks(s"https://www.javadoc.io/doc/org.typelevel/cats-docs_2.13/${mdocVariables.value("VERSION")}/"),
ApiLinks(s"https://www.scala-lang.org/api/$Scala213/").withPackagePrefix("scala")
)
)
},
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
val sbtTypelevelVersion = "0.5.4"
val sbtTypelevelVersion = "0.6.0"
addSbtPlugin("org.typelevel" % "sbt-typelevel" % sbtTypelevelVersion)
addSbtPlugin("org.typelevel" % "sbt-typelevel-site" % sbtTypelevelVersion)
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.6")
Expand Down

0 comments on commit 959b773

Please sign in to comment.