Skip to content

Commit

Permalink
don't use 'current' for doc links (#808)
Browse files Browse the repository at this point in the history
* don't use 'current' for doc links

* use sbt-pekko-build support for getting x.y version
  • Loading branch information
pjfanning authored Sep 18, 2024
1 parent 53ed673 commit 32af42f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ lazy val docs = project
"hadoop.version" -> Dependencies.HadoopVersion,
"extref.github.base_url" -> s"https://github.com/apache/pekko-connectors/tree/${if (isSnapshot.value) "main"
else "v" + version.value}/%s",
"extref.pekko.base_url" -> s"https://pekko.apache.org/docs/pekko/current/%s",
"extref.pekko.base_url" -> s"https://pekko.apache.org/docs/pekko/${Dependencies.PekkoBinaryVersion}/%s",
"scaladoc.org.apache.pekko.base_url" -> s"https://pekko.apache.org/api/pekko/${Dependencies.PekkoBinaryVersion}",
"javadoc.org.apache.pekko.base_url" -> s"https://pekko.apache.org/japi/pekko/${Dependencies.PekkoBinaryVersion}/",
"javadoc.org.apache.pekko.link_style" -> "direct",
Expand Down
4 changes: 2 additions & 2 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ object Dependencies {
val ScalaVersions = Seq(Scala213, Scala212, Scala3)

val PekkoVersion = PekkoCoreDependency.version
val PekkoBinaryVersion = PekkoVersion.take(3)
val PekkoBinaryVersion = PekkoCoreDependency.default.link

val InfluxDBJavaVersion = "2.23"

Expand All @@ -32,7 +32,7 @@ object Dependencies {
val PekkoGrpcBinaryVersion = "1.1"
val PekkoHttpVersion = PekkoHttpDependency.version
val PekkoStreamsCirceVersion = "1.1.0"
val PekkoHttpBinaryVersion = "1.0"
val PekkoHttpBinaryVersion = PekkoHttpDependency.default.link
val ScalaTestVersion = "3.2.19"
val TestContainersScalaTestVersion = "0.41.4"
val mockitoVersion = "4.11.0" // check even https://github.com/scalatest/scalatestplus-mockito/releases
Expand Down

0 comments on commit 32af42f

Please sign in to comment.