aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/Formats
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2017-02-24 14:23:29 +0100
committerDmitry Jemerov <yole@jetbrains.com>2017-02-24 14:23:29 +0100
commit004fc0c4eaf9d1ecaa78cf97f7d0fb2e91405031 (patch)
treec1d8e719e91cfd2bb6755d26e30a81aa0f6a84a5 /core/src/main/kotlin/Formats
parent5b90b573476f63366a5253280f5be5d68ac08a6d (diff)
parent64c8f35c00fcf483da76451b276e750533fbe9a4 (diff)
downloaddokka-004fc0c4eaf9d1ecaa78cf97f7d0fb2e91405031.tar.gz
dokka-004fc0c4eaf9d1ecaa78cf97f7d0fb2e91405031.tar.bz2
dokka-004fc0c4eaf9d1ecaa78cf97f7d0fb2e91405031.zip
Merge branch 'website-samples'
Diffstat (limited to 'core/src/main/kotlin/Formats')
-rw-r--r--core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt b/core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt
index b1e3ff91..7ebc5f09 100644
--- a/core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt
+++ b/core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt
@@ -169,7 +169,7 @@ class KotlinWebsiteRunnableSamplesOutputBuilder(to: StringBuilder,
div(to, "sample", true) {
appendBlockCode(language) {
imports()
- wrap("\nfun main(args: Array<String>) {", "}") {
+ wrap("\n\nfun main(args: Array<String>) {", "}") {
wrap("\n//sampleStart\n", "\n//sampleEnd\n", body)
}
}