File tree 3 files changed +18
-0
lines changed
3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -188,3 +188,7 @@ subprojects {
188
188
apply from : rootProject. file(' gradle/compiler-version.gradle' )
189
189
apply from : rootProject. file(" gradle/dokka.gradle" )
190
190
apply from : rootProject. file(" gradle/benchmark-parsing.gradle" )
191
+
192
+ tasks. named(" dokkaHtmlMultiModule" ) {
193
+ pluginsMapConfiguration. set([" org.jetbrains.dokka.base.DokkaBase" : """ { "templatesDir": "${ projectDir.toString().replace('\\', '/')} /dokka-templates" }""" ])
194
+ }
Original file line number Diff line number Diff line change
1
+ # Dokka's template customization
2
+ To provide unified navigation for all parts of [ kotlinlang.org] ( https://kotlinlang.org/ ) ,
3
+ the Kotlin Website Team uses this directory to place custom templates in this folder
4
+ during the website build time on TeamCity.
5
+
6
+ It is not practical to place these templates in the kotlinx.serialization repository because they change from time to time
7
+ and aren't related to the library's release cycle.
8
+
9
+ The folder is defined as a source for custom templates by the templatesDir property through Dokka's plugin configuration.
10
+
11
+ [ Here] ( https://kotlin.github.io/dokka/1.7.20-SNAPSHOT/user_guide/output-formats/html/#custom-html-pages ) , you can
12
+ find more about the customization of Dokka's HTML output.
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ subprojects {
20
20
21
21
tasks. named(' dokkaHtmlPartial' ) {
22
22
outputDirectory = file(" build/dokka" )
23
+ pluginsMapConfiguration. set([" org.jetbrains.dokka.base.DokkaBase" : """ { "templatesDir": "${ rootProject.projectDir.toString().replace('\\', '/')} /dokka-templates" }""" ])
24
+
23
25
dokkaSourceSets {
24
26
configureEach {
25
27
includes. from(rootProject. file(' dokka/moduledoc.md' ). path)
You can’t perform that action at this time.
0 commit comments