aboutsummaryrefslogtreecommitdiff
path: root/core/src/main
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-02-10 16:34:26 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-02-10 16:34:26 +0300
commit64c8f35c00fcf483da76451b276e750533fbe9a4 (patch)
treeb67771eff37bd1569f0c9a067b309143b52ad3a3 /core/src/main
parent4517ce588431fc6080bad24d947c53c8d82fcaa0 (diff)
downloaddokka-64c8f35c00fcf483da76451b276e750533fbe9a4.tar.gz
dokka-64c8f35c00fcf483da76451b276e750533fbe9a4.tar.bz2
dokka-64c8f35c00fcf483da76451b276e750533fbe9a4.zip
Tweaking of sample formatting
Diffstat (limited to 'core/src/main')
-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 007e9353..9a43f9c4 100644
--- a/core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt
+++ b/core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt
@@ -164,7 +164,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)
}
}