Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
htmlify: recognize enums as types
  • Loading branch information
moritz committed Feb 7, 2015
1 parent 1bd122c commit deb7189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htmlify.p6
Expand Up @@ -361,7 +361,7 @@ sub find-definitions (:$pod, :$origin, :$min-level = -1) {
%attr = :kind<routine>,
:categories($subkinds),
}
when 'class'|'role' {
when 'class'|'role'|'enum' {
my $summary = '';
if @c[$i+1] ~~ {$_ ~~ Pod::Block::Named and .name eq "SUBTITLE"} {
$summary = @c[$i+1].contents[0].contents[0];
Expand Down

0 comments on commit deb7189

Please sign in to comment.