aboutsummaryrefslogtreecommitdiff
path: root/src/main.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.kt')
-rw-r--r--src/main.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.kt b/src/main.kt
index 3192d711..d7ff749c 100644
--- a/src/main.kt
+++ b/src/main.kt
@@ -151,7 +151,8 @@ class DokkaGenerator(val logger: DokkaLogger,
}
if (formatter == null) return
- val generator = FileGenerator(signatureGenerator, locationService, formatter, outlineFormatter)
+ val generator = FileGenerator(signatureGenerator, locationService.withExtension(formatter.extension),
+ formatter, outlineFormatter)
logger.info("Generating pages... ")
generator.buildPage(documentation)
generator.buildOutline(documentation)