diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-07-09 16:30:36 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-07-13 14:23:08 +0200 |
commit | 2c967fb5389b0f7891b59d8a9334e4efca546b46 (patch) | |
tree | 2db3180c5f17f4210f25bf94fe824427bec1d3ec /plugins/gfm | |
parent | 8525326620eab855c2a0af83acfd47efb431d253 (diff) | |
download | dokka-2c967fb5389b0f7891b59d8a9334e4efca546b46.tar.gz dokka-2c967fb5389b0f7891b59d8a9334e4efca546b46.tar.bz2 dokka-2c967fb5389b0f7891b59d8a9334e4efca546b46.zip |
Remove `format` from dokka DokkaConfiguration
Diffstat (limited to 'plugins/gfm')
-rw-r--r-- | plugins/gfm/src/main/kotlin/GfmPlugin.kt | 2 | ||||
-rw-r--r-- | plugins/gfm/src/test/kotlin/renderers/gfm/GfmRenderingOnlyTestBase.kt | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/plugins/gfm/src/main/kotlin/GfmPlugin.kt b/plugins/gfm/src/main/kotlin/GfmPlugin.kt index 15fe6943..a07a26f2 100644 --- a/plugins/gfm/src/main/kotlin/GfmPlugin.kt +++ b/plugins/gfm/src/main/kotlin/GfmPlugin.kt @@ -24,14 +24,12 @@ class GfmPlugin : DokkaPlugin() { val renderer by extending { (CoreExtensions.renderer providing { CommonmarkRenderer(it) } - applyIf { format == "gfm" } override dokkaBase.htmlRenderer) } val locationProvider by extending { (dokkaBase.locationProviderFactory providing { MarkdownLocationProviderFactory(it) } - applyIf { format == "gfm" } override dokkaBase.locationProvider) } diff --git a/plugins/gfm/src/test/kotlin/renderers/gfm/GfmRenderingOnlyTestBase.kt b/plugins/gfm/src/test/kotlin/renderers/gfm/GfmRenderingOnlyTestBase.kt index 64e55f4f..6d0dd3a6 100644 --- a/plugins/gfm/src/test/kotlin/renderers/gfm/GfmRenderingOnlyTestBase.kt +++ b/plugins/gfm/src/test/kotlin/renderers/gfm/GfmRenderingOnlyTestBase.kt @@ -22,11 +22,11 @@ abstract class GfmRenderingOnlyTestBase : RenderingOnlyTestBase<String>() { GfmPlugin().gfmPreprocessors to { _ -> RootCreator }, testConfiguration = DokkaConfigurationImpl( - "", "", null, false, emptyList(), emptyList(), emptyMap(), emptyList(), false + "", null, false, emptyList(), emptyList(), emptyMap(), emptyList(), false ) ) override val renderedContent: String by lazy { files.contents.getValue("test-page.md") } -}
\ No newline at end of file +} |