Skip to content

Commit 9bcbe6b

Browse files
committed
include routines on the front page
this might change in future when we have too many of them
1 parent b92758e commit 9bcbe6b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

htmlify.pl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ ($out_dir = 'html')
4040
next if $name ~~ /\s/;
4141
%names{$name}<routine>.push: "/type/$podname.html#$name";
4242
%routines{$name}.push: $podname => $chunk;
43+
%types<routine>{$name} = "/routine/$name";
4344
}
4445
unlink $tempfile;
4546
}
@@ -127,6 +128,10 @@ ($out_dir = 'html')
127128
%types<type>.sort.map({
128129
pod-item(pod-link(.key, .value))
129130
}),
131+
pod-heading('Routines'),
132+
%types<routine>.sort.map({
133+
pod-item(pod-link(.key, .value))
134+
}),
130135
);
131136
my $file = open :w, "$out_dir/index.html";
132137
$file.print: pod2html($pod);

0 commit comments

Comments
 (0)