File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
resources/dotty_res/styles/theme/layout
src/dotty/tools/scaladoc/renderers Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 250
250
border-radius : 4px ;
251
251
}
252
252
253
+ # content .main-signature a {
254
+ text-decoration : none;
255
+ }
256
+
253
257
# content > div > * {
254
258
margin-bottom : 24px ;
255
259
}
Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ class MemberRenderer(signatureRenderer: SignatureRenderer)(using DocContext) ext
67
67
list(" Example:" , d.example)
68
68
)
69
69
70
- def companion (m : Member ): Seq [AppliedTag ] = m.companion.fold(Nil ){ (_ , dri) =>
71
- val kindName = if m. kind == Kind . Object then " class " else " object "
70
+ def companion (m : Member ): Seq [AppliedTag ] = m.companion.fold(Nil ){ (kind , dri) =>
71
+ val kindName = kind.name
72
72
tableRow(" Companion:" , signatureRenderer.renderLink(kindName, dri))
73
73
}
74
74
You can’t perform that action at this time.
0 commit comments