aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/Model
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-11-10 18:55:14 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-11-14 14:06:29 +0300
commitdc99d1fd5c066ac6083f09e23e52cf6c592768e4 (patch)
tree3c8fa7d3fe895f0c360d071beb1b56f8bb7c25f3 /core/src/main/kotlin/Model
parentaf81d5a311125fc30dcf9c14fc9bd9c8680e532b (diff)
downloaddokka-dc99d1fd5c066ac6083f09e23e52cf6c592768e4.tar.gz
dokka-dc99d1fd5c066ac6083f09e23e52cf6c592768e4.tar.bz2
dokka-dc99d1fd5c066ac6083f09e23e52cf6c592768e4.zip
Added //sampleStart //sampleEnd to samples on kotlin website
Diffstat (limited to 'core/src/main/kotlin/Model')
-rw-r--r--core/src/main/kotlin/Model/Content.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Model/Content.kt b/core/src/main/kotlin/Model/Content.kt
index fcf94c12..ecf75b20 100644
--- a/core/src/main/kotlin/Model/Content.kt
+++ b/core/src/main/kotlin/Model/Content.kt
@@ -83,7 +83,7 @@ class ContentStrong() : ContentBlock()
class ContentStrikethrough() : ContentBlock()
class ContentCode() : ContentBlock()
open class ContentBlockCode(val language: String = "") : ContentBlock()
-class ContentBlockSampleCode(language: String = "kotlin") : ContentBlockCode(language)
+class ContentBlockSampleCode(language: String = "kotlin", val importsBlock: ContentBlockCode = ContentBlockCode(language)) : ContentBlockCode(language)
abstract class ContentNodeLink() : ContentBlock() {
abstract val node: DocumentationNode?