package org.jetbrains.dokka public interface HtmlTemplateService { fun appendHeader(to: StringBuilder, title: String?) fun appendFooter(to: StringBuilder) companion object { public fun default(css: String? = null): HtmlTemplateService { return object : HtmlTemplateService { override fun appendFooter(to: StringBuilder) { to.appendln("") to.appendln("") } override fun appendHeader(to: StringBuilder, title: String?) { to.appendln("") to.appendln("") if (title != null) { to.appendln("$title") } if (css != null) { to.appendln("") } to.appendln("") to.appendln("") } } } } }