diff options
author | Mike Hearn <mike@plan99.net> | 2015-11-23 19:21:08 +0100 |
---|---|---|
committer | Mike Hearn <mike@plan99.net> | 2015-11-23 19:21:08 +0100 |
commit | 90cf2ebccd12073a55ff6f187e5a378a2e96e23b (patch) | |
tree | 2a8575d78618a8b374a35e6e8749968187583e29 /src/Utilities/DokkaModule.kt | |
parent | 23e270b603eb32472b8ef4a5f44c01af57fd049f (diff) | |
download | dokka-90cf2ebccd12073a55ff6f187e5a378a2e96e23b.tar.gz dokka-90cf2ebccd12073a55ff6f187e5a378a2e96e23b.tar.bz2 dokka-90cf2ebccd12073a55ff6f187e5a378a2e96e23b.zip |
Copy style.css to the output directory when doing HTML and use relative paths.
Fixes the code so that the relative path to root is always available, breaking the requirement to use a local web server.
Diffstat (limited to 'src/Utilities/DokkaModule.kt')
-rw-r--r-- | src/Utilities/DokkaModule.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Utilities/DokkaModule.kt b/src/Utilities/DokkaModule.kt index 3b2d26f1..1eb82313 100644 --- a/src/Utilities/DokkaModule.kt +++ b/src/Utilities/DokkaModule.kt @@ -26,7 +26,7 @@ class DokkaModule(val environment: AnalysisEnvironment, binder.bind(LanguageService::class.java).to(KotlinLanguageService::class.java) binder.bind(HtmlTemplateService::class.java).toProvider(object : Provider<HtmlTemplateService> { - override fun get(): HtmlTemplateService = HtmlTemplateService.default("/dokka/styles/style.css") + override fun get(): HtmlTemplateService = HtmlTemplateService.default("style.css") }) binder.registerCategory<LanguageService>("language") |