Skip to content

Commit

Permalink
Don't generate .png typegraph files
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Jan 11, 2017
1 parent f7ff9b7 commit 2929594
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
12 changes: 0 additions & 12 deletions htmlify.p6
Original file line number Diff line number Diff line change
Expand Up @@ -671,12 +671,6 @@ sub write-type-graph-images(:$force, :$parallel) {
@type-graph-images = ();
}

@type-graph-images.push: $viz.to-file("html/images/type-graph-{$type}.png", format => 'png', size => '8,3');
if @type-graph-images %% $parallel {
await(@type-graph-images);
@type-graph-images = ();
}

print '.';

LAST await(@type-graph-images);
Expand All @@ -700,12 +694,6 @@ sub write-type-graph-images(:$force, :$parallel) {
@specialized-visualizations = ();
}

@specialized-visualizations.push: $viz.to-file("html/images/type-graph-{$group}.png", format => 'png', size => '8,3');
if @specialized-visualizations %% $parallel {
await(@specialized-visualizations);
@specialized-visualizations = ();
}

LAST await(@specialized-visualizations);
}
}
Expand Down
3 changes: 1 addition & 2 deletions template/type-graph.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ <h1>Type graph</h1>
INLINESVG
<p class="fallback">
Stand-alone image:
<a rel="alternate" href="/images/type-graph-ESCAPEDPODNAME.svg" type="image/svg+xml">vector</a>,
<a rel="alternate" href="/images/type-graph-ESCAPEDPODNAME.png" type="image/png">raster</a>
<a rel="alternate" href="/images/type-graph-ESCAPEDPODNAME.svg" type="image/svg+xml">vector</a>
</p>
</figure>

0 comments on commit 2929594

Please sign in to comment.