diff options
Diffstat (limited to 'plugins/base/src/main/kotlin/translators/documentables/PageContentBuilder.kt')
-rw-r--r-- | plugins/base/src/main/kotlin/translators/documentables/PageContentBuilder.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/base/src/main/kotlin/translators/documentables/PageContentBuilder.kt b/plugins/base/src/main/kotlin/translators/documentables/PageContentBuilder.kt index ba21f089..f98e284f 100644 --- a/plugins/base/src/main/kotlin/translators/documentables/PageContentBuilder.kt +++ b/plugins/base/src/main/kotlin/translators/documentables/PageContentBuilder.kt @@ -146,6 +146,10 @@ open class PageContentBuilder( }.build() } + internal fun headers(vararg label: String) = contentFor(mainDRI, mainSourcesetData) { + label.forEach { text(it) } + } + fun <T : Documentable> block( name: String, level: Int, |