blob: 64eee2a9c0654ee894cde79679bcb6fd0b667fbe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package org.jetbrains.dokka
public class JekyllFormatService(locationService: LocationService, signatureGenerator: SignatureGenerator)
: MarkdownFormatService(locationService, signatureGenerator) {
override val extension: String = "html"
override fun format(nodes: Iterable<DocumentationNode>, to: StringBuilder) {
to.appendln("---")
to.appendln("layout: post")
to.appendln("title: ${nodes.first().name}")
to.appendln("---")
super<MarkdownFormatService>.format(nodes, to)
}
}
|