From d6fd04521ba4c4c430286078dd56309111c180e6 Mon Sep 17 00:00:00 2001 From: Ilya Ryzhenkov Date: Fri, 3 Oct 2014 20:20:02 +0400 Subject: Cross-reference links on types, relative locations. --- src/Formats/JekyllFormatService.kt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/Formats/JekyllFormatService.kt') diff --git a/src/Formats/JekyllFormatService.kt b/src/Formats/JekyllFormatService.kt index 459b5113..9870c8ee 100644 --- a/src/Formats/JekyllFormatService.kt +++ b/src/Formats/JekyllFormatService.kt @@ -1,17 +1,16 @@ package org.jetbrains.dokka public class JekyllFormatService(locationService: LocationService, - resolutionService: ResolutionService, signatureGenerator: LanguageService) -: MarkdownFormatService(locationService, resolutionService, signatureGenerator) { +: MarkdownFormatService(locationService, signatureGenerator) { override fun link(from: DocumentationNode, to: DocumentationNode): FormatLink = link(from, to, "html") - override fun appendNodes(to: StringBuilder, nodes: Iterable) { + override fun appendNodes(location: Location, to: StringBuilder, nodes: Iterable) { to.appendln("---") to.appendln("layout: api") to.appendln("title: ${nodes.first().name}") to.appendln("---") - super.appendNodes(to, nodes) + super.appendNodes(location, to, nodes) } } \ No newline at end of file -- cgit