diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2020-07-14 19:17:17 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-07-15 15:51:43 +0200 |
commit | 868ea24ccc2fad58b6155190ab2ed4766d09b6ed (patch) | |
tree | 7d341e82dc3b3aa68004796615f35e84159e50d3 /plugins/javadoc | |
parent | f5b8ba49eae0e611669e2f89eb0906b88db6f02c (diff) | |
download | dokka-868ea24ccc2fad58b6155190ab2ed4766d09b6ed.tar.gz dokka-868ea24ccc2fad58b6155190ab2ed4766d09b6ed.tar.bz2 dokka-868ea24ccc2fad58b6155190ab2ed4766d09b6ed.zip |
Remove unnecessary files
Diffstat (limited to 'plugins/javadoc')
-rw-r--r-- | plugins/javadoc/src/main/kotlin/javadoc/JavadocRenderer.kt | 28 | ||||
-rw-r--r-- | plugins/javadoc/src/main/kotlin/javadoc/KorteJavadocRenderer.kt | 0 |
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 |