@@ -32,7 +32,7 @@ class SignatureRenderer(pageContext: ContentPage, sourceSetRestriciton: JSet[Dis
3232 def renderLink (name : String , dri : DRI , modifiers : AppliedAttr * ) =
3333 link(dri) match
3434 case Some (link) => a(href := link, modifiers)(name)
35- case _ => span(Attr (" data-unresolved-link" ) := dri.toString , modifiers)(name)
35+ case _ => span(Attr (" data-unresolved-link" ) := " " , modifiers)(name)
3636
3737 def renderElementWith (e : String | (String , DRI ) | Link , modifiers : AppliedAttr * ) = e match
3838 case (name, dri) => renderLink(name, dri, modifiers:_* )
@@ -107,13 +107,6 @@ class ScalaHtmlRenderer(using ctx: DokkaContext) extends HtmlRenderer(ctx) {
107107 }
108108 }
109109
110- private val anchor = raw("""
111- <svg width="24" height="24" viewBox="0 0 24 24" fill="darkgray" xmlns="http://www.w3.org/2000/svg">
112- <path d="M21.2496 5.3C20.3496 4.5 19.2496 4 18.0496 4C16.8496 4 15.6496 4.5 14.8496 5.3L10.3496 9.8L11.7496 11.2L16.2496 6.7C17.2496 5.7 18.8496 5.7 19.8496 6.7C20.8496 7.7 20.8496 9.3 19.8496 10.3L15.3496 14.8L16.7496 16.2L21.2496 11.7C22.1496 10.8 22.5496 9.7 22.5496 8.5C22.5496 7.3 22.1496 6.2 21.2496 5.3Z"></path>
113- <path d="M8.35 16.7998C7.35 17.7998 5.75 17.7998 4.75 16.7998C3.75 15.7998 3.75 14.1998 4.75 13.1998L9.25 8.6998L7.85 7.2998L3.35 11.7998C1.55 13.5998 1.55 16.3998 3.35 18.1998C4.25 19.0998 5.35 19.4998 6.55 19.4998C7.75 19.4998 8.85 19.0998 9.75 18.1998L14.25 13.6998L12.85 12.2998L8.35 16.7998Z"></path>
114- </svg>
115- """ )
116-
117110
118111
119112 private def buildDocumentableList (n : DocumentableList , pageContext : ContentPage , sourceSetRestriciton : JSet [DisplaySourceSet ]) =
@@ -130,7 +123,7 @@ class ScalaHtmlRenderer(using ctx: DokkaContext) extends HtmlRenderer(ctx) {
130123 div(topLevelAttr:_* )(
131124 div(cls := " annotations monospace" )(element.annotations.map(renderElement)),
132125 div(
133- a(href:= link(element.params.dri).getOrElse(" #" ), cls := " documentableAnchor" )(anchor) ,
126+ a(href:= link(element.params.dri).getOrElse(" #" ), cls := " documentableAnchor" ),
134127 span(cls := " modifiers monospace" )(
135128 span(cls := " other-modifiers" )(otherModifiers.map(renderElement)),
136129 span(cls := " kind" )(kind.map(renderElement)),
0 commit comments