Ilya Ryzhenkov | eeb42e9 | 2014-07-14 22:29:34 +0400 | [diff] [blame^] | 1 | package org.jetbrains.dokka |
| 2 | |
| 3 | public class JekyllFormatService(locationService: LocationService, signatureGenerator: SignatureGenerator) |
| 4 | : MarkdownFormatService(locationService, signatureGenerator) { |
| 5 | |
| 6 | override fun format(nodes: Iterable<DocumentationNode>, to: StringBuilder) { |
| 7 | to.appendln("---") |
| 8 | to.appendln("layout: post") |
| 9 | to.appendln("title: ${nodes.first().name}") |
| 10 | to.appendln("---") |
| 11 | super<MarkdownFormatService>.format(nodes, to) |
| 12 | } |
| 13 | } |