File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 17
17
java-version : ' 11'
18
18
- name : Use tag as version
19
19
run : echo "${GITHUB_REF#refs/*/}" > version.txt
20
+ - name : Checkout Old Docs Versions for Index Page
21
+ uses : actions/checkout@v3
22
+ with :
23
+ ref : gh-pages
24
+ path : build/dokka
20
25
- name : Generate Docs with Dokka
21
26
run : ./gradlew dokkaHtmlMultiModule
22
27
- name : Publish to GitHub Pages
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ tasks.dokkaHtmlMultiModule {
122
122
}
123
123
doLast {
124
124
val index = file(docsDir.resolve(" index.html" ))
125
- index.writeText(createDocsIndexPage(), Charsets . ISO_8859_1 )
125
+ index.writeText(createDocsIndexPage())
126
126
}
127
127
}
128
128
@@ -157,6 +157,7 @@ fun FlowContent.createFooter() {
157
157
fun createDocsIndexPage (): String {
158
158
return createHTML().html {
159
159
head {
160
+ meta(charset = " utf-8" )
160
161
link(href = " ./$version /styles/style.css" , rel = " Stylesheet" )
161
162
link(href = " ./$version /styles/logo-styles.css" , rel = " Stylesheet" )
162
163
title(" modelix.core API Reference" )
You can’t perform that action at this time.
0 commit comments