feat: attempt to improve usability of the file tree
parent
d5ef8006b7
commit
a18b27f4c1
|
@ -31,7 +31,7 @@ partial def moduleListDir (h : Hierarchy) : BaseHtmlM Html := do
|
|||
let moduleLink ← moduleNameToLink h.getName
|
||||
let summary :=
|
||||
if h.isFile then
|
||||
<summary>{← moduleToHtmlLink h.getName}</summary>
|
||||
<summary>{s!"{h.getName.getString!} ({<a href={← moduleNameToLink h.getName}>file</a>})"} </summary>
|
||||
else
|
||||
<summary>{h.getName.getString!}</summary>
|
||||
|
||||
|
|
Loading…
Reference in New Issue