aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/javadoc/src/main/kotlin/javadoc/JavadocRenderer.kt28
-rw-r--r--plugins/javadoc/src/main/kotlin/javadoc/KorteJavadocRenderer.kt0
2 files changed, 0 insertions, 28 deletions
diff --git a/plugins/javadoc/src/main/kotlin/javadoc/JavadocRenderer.kt b/plugins/javadoc/src/main/kotlin/javadoc/JavadocRenderer.kt
deleted file mode 100644
index 588d89ba..00000000
--- a/plugins/javadoc/src/main/kotlin/javadoc/JavadocRenderer.kt
+++ /dev/null
@@ -1,28 +0,0 @@
-package org.jetbrains.dokka.javadoc
-
-//class JavadocRenderer(val outputWriter: OutputWriter, val context: DokkaContext) : Renderer {
-// override fun render(root: RootPageNode) {
-// val rootIndex = (root as RootIndexPage)
-// val instructions = (rootIndex.strategy as RenderingStrategy.Callback).instructions
-// outputWriter.writeHtml("index", instructions(this, rootIndex)) // TODO get version
-// rootIndex.children.forEach { renderPages(it) }
-// }
-//
-// private fun renderPages(node: PageNode, dir: String = "") {
-// val path = if (node is JavadocPageNode) node.fullPath else "$dir/${node.name}"
-// if (node is RendererSpecificPage) {
-// when (val strategy = node.strategy) {
-// is RenderingStrategy.Copy -> outputWriter.writeResources(strategy.from, "")
-// is RenderingStrategy.Write -> outputWriter.writeHtml(path, strategy.text)
-// is RenderingStrategy.Callback -> outputWriter.writeHtml(path, strategy.instructions(this, node))
-// RenderingStrategy.DoNothing -> Unit
-// }
-// }
-//// else
-//// throw IllegalStateException("${node.name} was not expected here")
-//
-// node.children.forEach { renderPages(it, path) }
-// }
-//
-// private fun OutputWriter.writeHtml(path: String, text: String) = write(path, text, ".html")
-//} \ No newline at end of file
diff --git a/plugins/javadoc/src/main/kotlin/javadoc/KorteJavadocRenderer.kt b/plugins/javadoc/src/main/kotlin/javadoc/KorteJavadocRenderer.kt
deleted file mode 100644
index e69de29b..00000000
--- a/plugins/javadoc/src/main/kotlin/javadoc/KorteJavadocRenderer.kt
+++ /dev/null