Skip to content

Commit

Permalink
Merge pull request Raku#1131 from perl6/coke/pngless
Browse files Browse the repository at this point in the history
Don't generate .png typegraph files
  • Loading branch information
coke authored Jan 31, 2017
2 parents c17ac0b + 2929594 commit 525e94e
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 @@ -686,12 +686,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 @@ -715,12 +709,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 525e94e

Please sign in to comment.