aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/DokkaBase.kt
diff options
context:
space:
mode:
authorAndrzej Ratajczak <andrzej.ratajczak98@gmail.com>2020-03-13 10:46:33 +0100
committerBłażej Kardyś <bkardys@virtuslab.com>2020-06-23 02:19:14 +0200
commit3940153fd08e0c0596ac289766d9ef2877b56591 (patch)
treeccf7bd66800c512a357ad0e31ca42f8cefcc0dcb /plugins/base/src/main/kotlin/DokkaBase.kt
parentf6530934d36fbb977c2b7c4eb3669a8f581dd9f5 (diff)
downloaddokka-3940153fd08e0c0596ac289766d9ef2877b56591.tar.gz
dokka-3940153fd08e0c0596ac289766d9ef2877b56591.tar.bz2
dokka-3940153fd08e0c0596ac289766d9ef2877b56591.zip
First version of javadoc output generation
Diffstat (limited to 'plugins/base/src/main/kotlin/DokkaBase.kt')
-rw-r--r--plugins/base/src/main/kotlin/DokkaBase.kt12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/base/src/main/kotlin/DokkaBase.kt b/plugins/base/src/main/kotlin/DokkaBase.kt
index af04d435..46c92c15 100644
--- a/plugins/base/src/main/kotlin/DokkaBase.kt
+++ b/plugins/base/src/main/kotlin/DokkaBase.kt
@@ -130,7 +130,7 @@ class DokkaBase : DokkaPlugin() {
}
val rootCreator by extending {
- htmlPreprocessors with RootCreator
+ htmlPreprocessors with RootCreator applyIf { format == "html" }
}
val defaultSamplesTransformer by extending {
@@ -153,19 +153,19 @@ class DokkaBase : DokkaPlugin() {
}
val navigationPageInstaller by extending {
- htmlPreprocessors with NavigationPageInstaller order { after(rootCreator) }
+ htmlPreprocessors with NavigationPageInstaller order { after(rootCreator) } applyIf { format == "html" }
}
val searchPageInstaller by extending {
- htmlPreprocessors with SearchPageInstaller order { after(rootCreator) }
+ htmlPreprocessors with SearchPageInstaller order { after(rootCreator) } applyIf { format == "html" }
}
val resourceInstaller by extending {
- htmlPreprocessors with ResourceInstaller order { after(rootCreator) }
+ htmlPreprocessors with ResourceInstaller order { after(rootCreator) } applyIf { format == "html" }
}
val styleAndScriptsAppender by extending {
- htmlPreprocessors with StyleAndScriptsAppender order { after(rootCreator) }
+ htmlPreprocessors with StyleAndScriptsAppender order { after(rootCreator) } applyIf { format == "html" }
}
val packageListCreator by extending {
@@ -175,7 +175,7 @@ class DokkaBase : DokkaPlugin() {
"html",
"html"
)
- } order { after(rootCreator) }
+ } order { after(rootCreator) } applyIf { format == "html" }
}
val sourcesetDependencyAppender by extending {