diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2014-12-29 15:32:15 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2014-12-29 15:32:15 +0100 |
commit | 8f3802672c6a07e9f5f949ef0b5482383b467cb6 (patch) | |
tree | ded0068139799f798d20aa917c065a2568254e1e /src/Formats/KotlinWebsiteFormatService.kt | |
parent | badba07c1d151ff5a9cf623abecf7f2c906b5931 (diff) | |
download | dokka-8f3802672c6a07e9f5f949ef0b5482383b467cb6.tar.gz dokka-8f3802672c6a07e9f5f949ef0b5482383b467cb6.tar.bz2 dokka-8f3802672c6a07e9f5f949ef0b5482383b467cb6.zip |
layout: api is specific to Kotlin web site, don't generate it in regular Jekyll output
Diffstat (limited to 'src/Formats/KotlinWebsiteFormatService.kt')
-rw-r--r-- | src/Formats/KotlinWebsiteFormatService.kt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Formats/KotlinWebsiteFormatService.kt b/src/Formats/KotlinWebsiteFormatService.kt index e694e222..4f7a013a 100644 --- a/src/Formats/KotlinWebsiteFormatService.kt +++ b/src/Formats/KotlinWebsiteFormatService.kt @@ -5,6 +5,11 @@ public class KotlinWebsiteFormatService(locationService: LocationService, : JekyllFormatService(locationService, signatureGenerator) { override val extension: String = "md" + override fun appendFrontMatter(nodes: Iterable<DocumentationNode>, to: StringBuilder) { + super.appendFrontMatter(nodes, to) + to.appendln("layout: api") + } + override public fun formatBreadcrumbs(items: Iterable<FormatLink>): String { items.drop(1) |