Skip to content

Commit

Permalink
make Dokka source links automatically point to version tag
Browse files Browse the repository at this point in the history
  • Loading branch information
whyoleg committed May 22, 2024
1 parent fd579be commit 79012d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ tasks.withType<DokkaTaskPartial>().configureEach {
reportUndocumented.set(false) // set true later
sourceLink {
localDirectory.set(rootDir)
remoteUrl.set(URI("https://github.com/whyoleg/cryptography-kotlin/tree/0.3.1/").toURL())
remoteUrl.set(URI("https://github.com/whyoleg/cryptography-kotlin/tree/${version}/").toURL())
remoteLineSuffix.set("#L")
}
}
Expand Down

0 comments on commit 79012d2

Please sign in to comment.