Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add heading to /routine.html
  • Loading branch information
gfldex committed Jul 10, 2016
1 parent 4a11181 commit f67e000
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions htmlify.p6
Expand Up @@ -847,14 +847,15 @@ sub write-main-index(:$kind, :&summary = {Nil}) {
"s that are documented here as part of the Perl 6 language. " ~
"Use the above menu to narrow it down topically."
),
pod-table($*DR.lookup($kind, :by<kind>)\
pod-table([[pod-bold('Name'), pod-bold('Declarator'), pod-bold('Source')],
$*DR.lookup($kind, :by<kind>)\
.categorize(*.name).sort(*.key)>>.value
.map({[
pod-link(.[0].name, .[0].url),
.map({.subkinds // Nil}).flat.unique.join(', '),
.&summary
]})
)
]}).cache.Slip
].flat)
), $kind);
}

Expand Down

0 comments on commit f67e000

Please sign in to comment.