aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-12-02 05:20:21 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-12-02 05:20:21 +0300
commit1eab9404b8ecbd51e5270af0cc0c9545e68f35f2 (patch)
tree21d24ad6a47c67c3880adb1f33e37b45c91c2627 /core/src/main/kotlin
parent5e9dd421cd323c138486cf8b38b6ce7158bcca8a (diff)
downloaddokka-1eab9404b8ecbd51e5270af0cc0c9545e68f35f2.tar.gz
dokka-1eab9404b8ecbd51e5270af0cc0c9545e68f35f2.tar.bz2
dokka-1eab9404b8ecbd51e5270af0cc0c9545e68f35f2.zip
Remove categories to prevent injection errors
When not NodeLocationAwareGenerator used
Diffstat (limited to 'core/src/main/kotlin')
-rw-r--r--core/src/main/kotlin/Utilities/DokkaModules.kt13
1 files changed, 0 insertions, 13 deletions
diff --git a/core/src/main/kotlin/Utilities/DokkaModules.kt b/core/src/main/kotlin/Utilities/DokkaModules.kt
index a2d720ef..fcc2f692 100644
--- a/core/src/main/kotlin/Utilities/DokkaModules.kt
+++ b/core/src/main/kotlin/Utilities/DokkaModules.kt
@@ -51,19 +51,6 @@ class DokkaOutputModule(val options: DocumentationOptions,
binder.bind(LanguageService::class.java).to(KotlinLanguageService::class.java)
binder.bind(File::class.java).annotatedWith(Names.named("outputDir")).toInstance(File(options.outputDir))
-// binder.bindNameAnnotated<LocationService, SingleFolderLocationService>("singleFolder")
-// binder.bindNameAnnotated<FileLocationService, SingleFolderLocationService>("singleFolder")
-// binder.bindNameAnnotated<LocationService, FoldersLocationService>("folders")
-// binder.bindNameAnnotated<FileLocationService, FoldersLocationService>("folders")
-
- // defaults
-// binder.bind(LocationService::class.java).to(FoldersLocationService::class.java)
-// binder.bind(FileLocationService::class.java).to(FoldersLocationService::class.java)
-
- binder.registerCategory<OutlineFormatService>("outline")
- binder.registerCategory<FormatService>("format")
- binder.registerCategory<Generator>("generator")
-
binder.bind<DocumentationOptions>().toInstance(options)
binder.bind<DokkaLogger>().toInstance(logger)
binder.bind(StringListType).annotatedWith(Names.named(impliedPlatformsName)).toInstance(options.impliedPlatforms)