aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/CoreExtensions.kt
diff options
context:
space:
mode:
authorPaweł Marks <pmarks@virtuslab.com>2019-11-26 20:57:47 +0100
committerPaweł Marks <pmarks@virtuslab.com>2019-11-26 21:02:32 +0100
commit970bb62105af3828234eb871230ee9c1cd216af7 (patch)
tree382ec69635875fc52f417ffc9c1b9ee455d802b7 /core/src/main/kotlin/CoreExtensions.kt
parent49439594f86217d8a25e8df2580b8ef29d836230 (diff)
downloaddokka-970bb62105af3828234eb871230ee9c1cd216af7.tar.gz
dokka-970bb62105af3828234eb871230ee9c1cd216af7.tar.bz2
dokka-970bb62105af3828234eb871230ee9c1cd216af7.zip
Making names of extension points more consistent
Diffstat (limited to 'core/src/main/kotlin/CoreExtensions.kt')
-rw-r--r--core/src/main/kotlin/CoreExtensions.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/kotlin/CoreExtensions.kt b/core/src/main/kotlin/CoreExtensions.kt
index f56cd854..87509dc4 100644
--- a/core/src/main/kotlin/CoreExtensions.kt
+++ b/core/src/main/kotlin/CoreExtensions.kt
@@ -26,8 +26,8 @@ object CoreExtensions {
val markdownToContentConverterFactory by coreExtension<(DokkaContext) -> MarkdownToContentConverter>()
val documentationToPageTranslator by coreExtension<DocumentationToPageTranslator>()
val pageTransformer by coreExtension<PageNodeTransformer>()
- val renderer by coreExtension<(FileWriter, LocationProvider, DokkaContext) -> Renderer>()
- val locationProvider by coreExtension<(root: PageNode, DokkaConfiguration, DokkaContext) -> LocationProvider>()
+ val rendererFactory by coreExtension<(FileWriter, LocationProvider, DokkaContext) -> Renderer>()
+ val locationProviderFactory by coreExtension<(root: PageNode, DokkaConfiguration, DokkaContext) -> LocationProvider>()
val fileExtension by coreExtension<String>()
private fun <T: Any> coreExtension() = object {