aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-07-14 19:17:17 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-15 15:51:43 +0200
commit868ea24ccc2fad58b6155190ab2ed4766d09b6ed (patch)
tree7d341e82dc3b3aa68004796615f35e84159e50d3 /plugins
parentf5b8ba49eae0e611669e2f89eb0906b88db6f02c (diff)
downloaddokka-868ea24ccc2fad58b6155190ab2ed4766d09b6ed.tar.gz
dokka-868ea24ccc2fad58b6155190ab2ed4766d09b6ed.tar.bz2
dokka-868ea24ccc2fad58b6155190ab2ed4766d09b6ed.zip
Remove unnecessary files
Diffstat (limited to 'plugins')
-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