Skip to content

Commit deb7189

Browse files
committed
htmlify: recognize enums as types
1 parent 1bd122c commit deb7189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

htmlify.p6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ sub find-definitions (:$pod, :$origin, :$min-level = -1) {
361361
%attr = :kind<routine>,
362362
:categories($subkinds),
363363
}
364-
when 'class'|'role' {
364+
when 'class'|'role'|'enum' {
365365
my $summary = '';
366366
if @c[$i+1] ~~ {$_ ~~ Pod::Block::Named and .name eq "SUBTITLE"} {
367367
$summary = @c[$i+1].contents[0].contents[0];

0 commit comments

Comments
 (0)