diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2017-02-24 14:23:29 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2017-02-24 14:23:29 +0100 |
commit | 004fc0c4eaf9d1ecaa78cf97f7d0fb2e91405031 (patch) | |
tree | c1d8e719e91cfd2bb6755d26e30a81aa0f6a84a5 /core/src/main/kotlin/Formats | |
parent | 5b90b573476f63366a5253280f5be5d68ac08a6d (diff) | |
parent | 64c8f35c00fcf483da76451b276e750533fbe9a4 (diff) | |
download | dokka-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.kt | 2 |
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) } } |