We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68ed40d commit 17b80fbCopy full SHA for 17b80fb
buildSrc/src/main/kotlin/dokka-convention.gradle.kts
@@ -98,9 +98,9 @@ tasks.register("trimNavigations") {
98
val doc = Jsoup.parse(navigation)
99
100
// Fix navigation links
101
- doc.select("a[href^='../']").forEach { anchor ->
+ doc.select("a[href^='../../../../']").forEach { anchor ->
102
val originalHref = anchor.attr("href")
103
- val trimmedHref = originalHref.replace("../", "")
+ val trimmedHref = originalHref.replace("../../../../", "")
104
anchor.attr("href", trimmedHref)
105
}
106
0 commit comments