Skip to content

Commit f24266a

Browse files
committed
build: fix dokka pipeline
1 parent 298fce1 commit f24266a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ fun createDocsIndexPage(): String {
224224
h2 { +"Available versions:" }
225225
div("table") {
226226
val versionDirs = docsDir.listFiles()
227-
?.filter { it.isDirectory }
227+
?.filter { it.isDirectory && !it.name.startsWith('.') }
228228
?.sortedByDescending { Version.parse(it.name) }
229229
if (versionDirs != null) {
230230
for (versionDir in versionDirs) {
@@ -234,7 +234,7 @@ fun createDocsIndexPage(): String {
234234
div("main-subrow") {
235235
div("w-100") {
236236
span("inline-flex") {
237-
a( href = versionIndex.relativeTo(docsDir).path) {
237+
a(href = versionIndex.relativeTo(docsDir).path) {
238238
+"modelix.core ${versionDir.name}"
239239
}
240240
}

0 commit comments

Comments
 (0)