fixed up function links on package frame
This commit is contained in:
@@ -24,7 +24,7 @@ abstract class KDocTemplate() : TextTemplate() {
|
||||
return if (f.owner is KClass) {
|
||||
"${href(f.owner)}#${f.link}"
|
||||
} else {
|
||||
"#${f.link}"
|
||||
"package-summary.html#${f.link}"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -74,7 +74,7 @@ class PackageFrameTemplate(val model: KModel, p: KPackage) : PackageTemplateSupp
|
||||
<FONT CLASS="FrameItemFont">
|
||||
<BR>""")
|
||||
for (c in functions) {
|
||||
println("<A HREF=\"${c.name}.html\" title=\"function in ${pkg.name}\" target=\"classFrame\"><I>${c.name}</I></A>")
|
||||
println("<A HREF=\"${href(c)}\" title=\"function in ${pkg.name}\" target=\"classFrame\"><I>${c.name}</I></A>")
|
||||
println("<BR>")
|
||||
}
|
||||
println("""</TR>
|
||||
|
||||
@@ -181,7 +181,6 @@ class KModel(var context: BindingContext, var title: String = "Documentation", v
|
||||
// lets remove the comment tokens
|
||||
//val lines = text.trim().split("\\n")
|
||||
text = text.trim().trim("/").trim("*").trim()
|
||||
|
||||
// TODO convert any macros or wiki text!
|
||||
return text
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user