Skip to content

Commit c0b741f

Browse files
elizarovrecheej
authored andcommitted
Fixed invalid self-links to index.md in docs
Fixes Kotlin#2107
1 parent 2391d8f commit c0b741f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: site/build.gradle.kts

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import groovy.lang.*
2+
13
/*
24
* Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
35
*/
@@ -14,6 +16,7 @@ val copyDocs = tasks.register<Copy>("copyDocs") {
1416
}
1517
from("docs")
1618
into(buildDocsDir)
19+
filter { it.replace("/index.md\"", "/index.html\"") }
1720

1821
dependsOn(dokkaTasks)
1922
}

0 commit comments

Comments
 (0)