aboutsummaryrefslogtreecommitdiff
path: root/src/main.kt
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-15 15:54:05 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-07-15 15:54:05 +0400
commit62cb509a1a5adf0e5f9ba8d8e7545a93eb8516b2 (patch)
tree52e0ad3452a198ee279df8ed3e93c9c0a39a5f6b /src/main.kt
parentad884a9ce79f191f3a7b7aed115080e341265ef3 (diff)
downloaddokka-62cb509a1a5adf0e5f9ba8d8e7545a93eb8516b2.tar.gz
dokka-62cb509a1a5adf0e5f9ba8d8e7545a93eb8516b2.tar.bz2
dokka-62cb509a1a5adf0e5f9ba8d8e7545a93eb8516b2.zip
Refactor formatting service to detach grouping logic from markup
Diffstat (limited to 'src/main.kt')
-rw-r--r--src/main.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.kt b/src/main.kt
index 9da545d7..f9b734a3 100644
--- a/src/main.kt
+++ b/src/main.kt
@@ -57,8 +57,8 @@ public fun main(args: Array<String>) {
val signatureGenerator = KotlinSignatureGenerator()
val locationService = FoldersLocationService(arguments.outputDir)
- val markdown = JekyllFormatService(locationService, signatureGenerator)
- val generator = FileGenerator(signatureGenerator, locationService, markdown)
+ val formatter = HtmlFormatService(locationService, signatureGenerator)
+ val generator = FileGenerator(signatureGenerator, locationService, formatter)
generator.generate(documentation)
Disposer.dispose(environment)
} \ No newline at end of file