package org.jetbrains.dokka public interface Generator { fun buildPages(nodes: Iterable) fun buildOutlines(nodes: Iterable) } fun Generator.buildAll(nodes: Iterable) { buildPages(nodes) buildOutlines(nodes) } fun Generator.buildPage(node: DocumentationNode): Unit = buildPages(listOf(node)) fun Generator.buildOutline(node: DocumentationNode): Unit = buildOutlines(listOf(node)) fun Generator.buildAll(node: DocumentationNode): Unit = buildAll(listOf(node))