Skip to content

Commit

Permalink
Make renderer open
Browse files Browse the repository at this point in the history
  • Loading branch information
romanowski committed Sep 18, 2020
1 parent 1fc41d6 commit 8676797
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class StaticSitePlugin : DokkaPlugin() {

val customRenderer by extending {
(CoreExtensions.renderer
providing { ctx -> RendererDispatcher(ctx) }
providing { ctx -> SiteRenderer(ctx) }
override dokkaBase.htmlRenderer)
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/com/virtuslab/dokka/site/renderer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import java.net.URI


// this will be rewritten after PR is merged to dokka
class RendererDispatcher(context: DokkaContext) : org.jetbrains.dokka.base.renderers.html.HtmlRenderer(context) {
open class SiteRenderer(context: DokkaContext) : org.jetbrains.dokka.base.renderers.html.HtmlRenderer(context) {

override fun buildPageContent(context: FlowContent, page: ContentPage) {
when (page) {
Expand Down

0 comments on commit 8676797

Please sign in to comment.