diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-12-02 05:20:21 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-12-02 05:20:21 +0300 |
commit | 1eab9404b8ecbd51e5270af0cc0c9545e68f35f2 (patch) | |
tree | 21d24ad6a47c67c3880adb1f33e37b45c91c2627 /core/src/main/kotlin | |
parent | 5e9dd421cd323c138486cf8b38b6ce7158bcca8a (diff) | |
download | dokka-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.kt | 13 |
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) |