aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/renderers/HtmlRenderer.kt
diff options
context:
space:
mode:
authorPaweł Marks <pmarks@virtuslab.com>2019-11-26 13:44:27 +0100
committerPaweł Marks <pmarks@virtuslab.com>2019-11-26 21:02:20 +0100
commit49439594f86217d8a25e8df2580b8ef29d836230 (patch)
tree50dc1b0793c4804b382c6b75fd7a3a0d27cb869a /core/src/main/kotlin/renderers/HtmlRenderer.kt
parentc185e420971950747535e98f96a12e480159dd83 (diff)
downloaddokka-49439594f86217d8a25e8df2580b8ef29d836230.tar.gz
dokka-49439594f86217d8a25e8df2580b8ef29d836230.tar.bz2
dokka-49439594f86217d8a25e8df2580b8ef29d836230.zip
Introduction of all important extension points and restructuring of DokkaGenerator
Diffstat (limited to 'core/src/main/kotlin/renderers/HtmlRenderer.kt')
-rw-r--r--core/src/main/kotlin/renderers/HtmlRenderer.kt7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/src/main/kotlin/renderers/HtmlRenderer.kt b/core/src/main/kotlin/renderers/HtmlRenderer.kt
index 3b778671..46548699 100644
--- a/core/src/main/kotlin/renderers/HtmlRenderer.kt
+++ b/core/src/main/kotlin/renderers/HtmlRenderer.kt
@@ -2,13 +2,18 @@ package org.jetbrains.dokka.renderers
import org.jetbrains.dokka.htmlEscape
import org.jetbrains.dokka.pages.*
+import org.jetbrains.dokka.plugability.DokkaContext
import org.jetbrains.dokka.resolvers.LocationProvider
import java.io.File
import java.net.URL
import java.nio.file.Path
import java.nio.file.Paths
-open class HtmlRenderer(fileWriter: FileWriter, locationProvider: LocationProvider) : DefaultRenderer(fileWriter, locationProvider) {
+open class HtmlRenderer(
+ fileWriter: FileWriter,
+ locationProvider: LocationProvider,
+ context: DokkaContext
+) : DefaultRenderer(fileWriter, locationProvider, context) {
override fun buildList(node: ContentList, pageContext: PageNode): String = if (node.ordered) {
"<ol>${buildListItems(node.children, pageContext)}</ol>"