Skip to content

Commit 73bfb73

Browse files
committed
Cosmetic updates
1 parent 3ecc86c commit 73bfb73

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

dottydoc/js/static/index.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ span.subtitle {
88
padding-top: 32px;
99
}
1010

11+
div.member {
12+
min-height: 70px;
13+
}
14+
1115
div.member.member-fullcomment:hover {
1216
cursor: pointer;
1317
}

dottydoc/jvm/src/dotty/tools/dottydoc/util/IndexWriters.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ object IndexWriters {
1414
EntityPage(pack, packs).render,
1515
outPath + pack.path.dropRight(1).mkString("/", "/", "/"),
1616
s"${pack.name.split("\\.").last}.html")
17-
//s"index.html")
1817

1918
for {
2019
child <- pack.children

dottydoc/shared/src/main/scala/dotty/tools/dottydoc/model/factories.scala

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ object factories {
1414
import DottyFlags._
1515

1616
def flags(t: Tree)(implicit ctx: Context): List[String] =
17-
(t.symbol.flags & SourceModifierFlags).flagStrings.toList
17+
(t.symbol.flags & SourceModifierFlags)
18+
.flagStrings.toList
19+
.filter(_ != "<trait>")
20+
.filter(_ != "interface")
1821

1922
def path(t: Tree)(implicit ctx: Context): List[String] = {
2023
def pathList(tpe: Type): List[String] = tpe match {

0 commit comments

Comments
 (0)