Skip to content

Commit 8e9e4b7

Browse files
committed
build: fixed api ref index page encoding
1 parent ce91407 commit 8e9e4b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ tasks.dokkaHtmlMultiModule {
122122
}
123123
doLast {
124124
val index = file(docsDir.resolve("index.html"))
125-
index.writeText(createDocsIndexPage(), Charsets.ISO_8859_1)
125+
index.writeText(createDocsIndexPage())
126126
}
127127
}
128128

@@ -157,6 +157,7 @@ fun FlowContent.createFooter() {
157157
fun createDocsIndexPage(): String {
158158
return createHTML().html {
159159
head {
160+
meta(charset = "utf-8")
160161
link(href = "./$version/styles/style.css", rel = "Stylesheet")
161162
link(href = "./$version/styles/logo-styles.css", rel = "Stylesheet")
162163
title("modelix.core API Reference")

0 commit comments

Comments
 (0)