Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[htmlify] embed type graph images
requires the very latest Pod::To::HTML
  • Loading branch information
moritz committed Aug 6, 2012
1 parent 447afc8 commit 5922a03
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions htmlify.pl
Expand Up @@ -114,6 +114,10 @@ (Bool :$debug)
%types<routine>{$name} = "/routine/" ~ uri_escape( $name );
}
if $tg.types{$podname} -> $t {
$pod.content.push: Pod::Block::Named.new(
name => 'Image',
content => [ "/images/type-graph-$podname.png"],
);
my @mro = $t.mro;
@mro.shift; # current type is already taken care of
for $t.roles -> $r {
Expand Down

0 comments on commit 5922a03

Please sign in to comment.