Skip to content

Commit

Permalink
link github source repo in doc (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
Roiocam committed Apr 12, 2024
1 parent 0a6a238 commit ff7682d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,15 @@ lazy val docs = project
Paradox / siteSubdirName := s"docs/pekko-persistence-cassandra/${projectInfoVersion.value}",
Compile / paradoxProperties ++= Map(
"project.url" -> "https://pekko.apache.org/docs/pekko-persistence-cassandra/current/",
"github.base_url" -> "https://github.com/apache/pekko-persistence-cassandra/",
"canonical.base_url" -> "https://pekko.apache.org/docs/pekko-persistence-cassandra/current",
"pekko.version" -> Dependencies.pekkoVersion,
// Pekko
"extref.pekko.base_url" -> s"https://pekko.apache.org/docs/pekko/${Dependencies.pekkoVersionInDocs}/%s",
"scaladoc.pekko.base_url" -> s"https://pekko.apache.org/api/pekko/${Dependencies.pekkoVersionInDocs}/",
"javadoc.pekko.base_url" -> s"https://pekko.apache.org/japi/pekko/${Dependencies.pekkoVersionInDocs}/",
"extref.github.base_url" -> s"https://github.com/apache/pekko-persistence-jdbc/blob/${if (isSnapshot.value) "main"
else "v" + version.value}/%s",
// Connectors
"extref.pekko-connectors.base_url" -> s"https://pekko.apache.org/docs/pekko-connectors/${Dependencies.pekkoConnectorsVersionInDocs}/%s",
"scaladoc.org.apache.pekko.stream.connectors.base_url" -> s"https://pekko.apache.org/api/pekko-connectors/${Dependencies.pekkoConnectorsVersionInDocs}/",
Expand All @@ -148,7 +151,8 @@ lazy val docs = project
paradoxGroups := Map("Language" -> Seq("Java", "Scala")),
ApidocPlugin.autoImport.apidocRootPackage := "org.apache.pekko",
apidocRootPackage := "org.apache.pekko",
Global / pekkoParadoxIncubatorNotice := None)
Global / pekkoParadoxIncubatorNotice := None,
pekkoParadoxGithub := Some("https://github.com/apache/pekko-persistence-cassandra"))

Global / onLoad := (Global / onLoad).value.andThen { s =>
val v = version.value
Expand Down

0 comments on commit ff7682d

Please sign in to comment.