Skip to content

Commit 2929594

Browse files
committed
Don't generate .png typegraph files
1 parent f7ff9b7 commit 2929594

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

htmlify.p6

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -671,12 +671,6 @@ sub write-type-graph-images(:$force, :$parallel) {
671671
@type-graph-images = ();
672672
}
673673

674-
@type-graph-images.push: $viz.to-file("html/images/type-graph-{$type}.png", format => 'png', size => '8,3');
675-
if @type-graph-images %% $parallel {
676-
await(@type-graph-images);
677-
@type-graph-images = ();
678-
}
679-
680674
print '.';
681675

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

703-
@specialized-visualizations.push: $viz.to-file("html/images/type-graph-{$group}.png", format => 'png', size => '8,3');
704-
if @specialized-visualizations %% $parallel {
705-
await(@specialized-visualizations);
706-
@specialized-visualizations = ();
707-
}
708-
709697
LAST await(@specialized-visualizations);
710698
}
711699
}

template/type-graph.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ <h1>Type graph</h1>
44
INLINESVG
55
<p class="fallback">
66
Stand-alone image:
7-
<a rel="alternate" href="/images/type-graph-ESCAPEDPODNAME.svg" type="image/svg+xml">vector</a>,
8-
<a rel="alternate" href="/images/type-graph-ESCAPEDPODNAME.png" type="image/png">raster</a>
7+
<a rel="alternate" href="/images/type-graph-ESCAPEDPODNAME.svg" type="image/svg+xml">vector</a>
98
</p>
109
</figure>

0 commit comments

Comments
 (0)