Permalink
Browse files

include routines on the front page

this might change in future when we have too many of them
  • Loading branch information...
moritz committed Jul 5, 2012
1 parent b92758e commit 9bcbe6b87292bcea6c58b645f9d1c33fe5a1f02e
Showing with 5 additions and 0 deletions.
  1. +5 −0 htmlify.pl
View
@@ -40,6 +40,7 @@ ($out_dir = 'html')
next if $name ~~ /\s/;
%names{$name}<routine>.push: "/type/$podname.html#$name";
%routines{$name}.push: $podname => $chunk;
+ %types<routine>{$name} = "/routine/$name";
}
unlink $tempfile;
}
@@ -127,6 +128,10 @@ ($out_dir = 'html')
%types<type>.sort.map({
pod-item(pod-link(.key, .value))
}),
+ pod-heading('Routines'),
+ %types<routine>.sort.map({
+ pod-item(pod-link(.key, .value))
+ }),
);
my $file = open :w, "$out_dir/index.html";
$file.print: pod2html($pod);

0 comments on commit 9bcbe6b

Please sign in to comment.