We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c941451 commit bfe9114Copy full SHA for bfe9114
htmlify.p6
@@ -882,8 +882,9 @@ sub write-main-index(:$kind, :&summary = {Nil}) {
882
# XXX: Only handles normal routines, not types nor operators
883
sub write-sub-index(:$kind, :$category, :&summary = {Nil}) {
884
say "Writing html/$kind-$category.html ...";
885
+ my $this-category = $category.tc eq "Exceptions" ?? "Exception" !! $category.tc;
886
spurt "html/$kind-$category.html", p2h(pod-with-title(
- "Perl 6 {$category.tc} {$kind.tc}s",
887
+ "Perl 6 {$this-category} {$kind.tc}s",
888
pod-table($*DR.lookup($kind, :by<kind>)\
889
.grep({$category ⊆ .categories})\ # XXX
890
.categorize(*.name).sort(*.key)>>.value
0 commit comments