diff options
Diffstat (limited to 'src/Locations/SingleFolderLocationService.kt')
-rw-r--r-- | src/Locations/SingleFolderLocationService.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Locations/SingleFolderLocationService.kt b/src/Locations/SingleFolderLocationService.kt index 4f926959..aefab450 100644 --- a/src/Locations/SingleFolderLocationService.kt +++ b/src/Locations/SingleFolderLocationService.kt @@ -3,9 +3,9 @@ package org.jetbrains.dokka import java.io.File public fun SingleFolderLocationService(root: String): SingleFolderLocationService = SingleFolderLocationService(File(root)) -public class SingleFolderLocationService(val root: File) : LocationService { - override fun location(node: DocumentationNode): Location { +public class SingleFolderLocationService(val root: File) : FileLocationService { + override fun location(node: DocumentationNode): FileLocation { val filename = node.path.map { identifierToFilename(it.name) }.joinToString("-") - return Location(File(root, filename)) + return FileLocation(File(root, filename)) } }
\ No newline at end of file |