diff options
author | Simon Ogorodnik <sem-oro@yandex.ru> | 2016-11-29 15:53:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-29 15:53:53 +0300 |
commit | 37cbd962b7493aef63067a9f6b7f4abbaa56bc80 (patch) | |
tree | 9535169caa2899dab75417b0b788f1ec341b4b0b /core/src/main/kotlin/Model/Content.kt | |
parent | edda34b73bbbd9537eb499668c47a7a901b284c2 (diff) | |
parent | 875e7e5e39c6c1668729685bbc7f51bc07aed4b6 (diff) | |
download | dokka-37cbd962b7493aef63067a9f6b7f4abbaa56bc80.tar.gz dokka-37cbd962b7493aef63067a9f6b7f4abbaa56bc80.tar.bz2 dokka-37cbd962b7493aef63067a9f6b7f4abbaa56bc80.zip |
Merge pull request #111 from Kotlin/website-samples
Tweaked output for kotlin-website samples feature
Diffstat (limited to 'core/src/main/kotlin/Model/Content.kt')
-rw-r--r-- | core/src/main/kotlin/Model/Content.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Model/Content.kt b/core/src/main/kotlin/Model/Content.kt index 1a8bc5d2..c8585418 100644 --- a/core/src/main/kotlin/Model/Content.kt +++ b/core/src/main/kotlin/Model/Content.kt @@ -82,7 +82,8 @@ class ContentEmphasis() : ContentBlock() class ContentStrong() : ContentBlock() class ContentStrikethrough() : ContentBlock() class ContentCode() : ContentBlock() -class ContentBlockCode(val language: String = "") : ContentBlock() +open class ContentBlockCode(val language: String = "") : ContentBlock() +class ContentBlockSampleCode(language: String = "kotlin", val importsBlock: ContentBlockCode = ContentBlockCode(language)) : ContentBlockCode(language) abstract class ContentNodeLink() : ContentBlock() { abstract val node: DocumentationNode? |