aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Formats/HtmlFormatService.kt2
-rw-r--r--src/Kotlin/KotlinLanguageService.kt3
-rw-r--r--test/data/format/brokenLink.html1
3 files changed, 4 insertions, 2 deletions
diff --git a/src/Formats/HtmlFormatService.kt b/src/Formats/HtmlFormatService.kt
index 9572dde0..3415bfd7 100644
--- a/src/Formats/HtmlFormatService.kt
+++ b/src/Formats/HtmlFormatService.kt
@@ -126,7 +126,7 @@ public open class HtmlFormatService(locationService: LocationService,
}
override fun appendOutline(location: Location, to: StringBuilder, nodes: Iterable<DocumentationNode>) {
- templateService.appendHeader(to)
+ templateService.appendHeader(to, "Module Contents")
super<OutlineFormatService>.appendOutline(location, to, nodes)
templateService.appendFooter(to)
}
diff --git a/src/Kotlin/KotlinLanguageService.kt b/src/Kotlin/KotlinLanguageService.kt
index 04da05d9..267c0a52 100644
--- a/src/Kotlin/KotlinLanguageService.kt
+++ b/src/Kotlin/KotlinLanguageService.kt
@@ -16,7 +16,8 @@ class KotlinLanguageService : LanguageService {
DocumentationNode.Kind.AnnotationClass,
DocumentationNode.Kind.Object -> renderClass(node)
- DocumentationNode.Kind.EnumItem -> if (renderMode == RenderMode.FULL) identifier(node.name)
+ DocumentationNode.Kind.EnumItem,
+ DocumentationNode.Kind.ExternalClass -> if (renderMode == RenderMode.FULL) identifier(node.name)
DocumentationNode.Kind.TypeParameter -> renderTypeParameter(node)
DocumentationNode.Kind.Type,
diff --git a/test/data/format/brokenLink.html b/test/data/format/brokenLink.html
index d5f8707f..39fe8617 100644
--- a/test/data/format/brokenLink.html
+++ b/test/data/format/brokenLink.html
@@ -1,5 +1,6 @@
<HTML>
<HEAD>
+<title>test / f</title>
</HEAD>
<BODY>
<a href="out.html">test</a>&nbsp;/&nbsp;<a href="out.html"></a>&nbsp;/&nbsp;<a href="out.html">f</a><br/>