Skip to content

Commit bfe9114

Browse files
committed
Exceptions → Exception closes #659
1 parent c941451 commit bfe9114

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

htmlify.p6

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,8 +882,9 @@ sub write-main-index(:$kind, :&summary = {Nil}) {
882882
# XXX: Only handles normal routines, not types nor operators
883883
sub write-sub-index(:$kind, :$category, :&summary = {Nil}) {
884884
say "Writing html/$kind-$category.html ...";
885+
my $this-category = $category.tc eq "Exceptions" ?? "Exception" !! $category.tc;
885886
spurt "html/$kind-$category.html", p2h(pod-with-title(
886-
"Perl 6 {$category.tc} {$kind.tc}s",
887+
"Perl 6 {$this-category} {$kind.tc}s",
887888
pod-table($*DR.lookup($kind, :by<kind>)\
888889
.grep({$category .categories})\ # XXX
889890
.categorize(*.name).sort(*.key)>>.value

0 commit comments

Comments
 (0)