Skip to content

Commit 64385e5

Browse files
author
Geoffrey Broadwell
committed
Improve preamble boilerplate for type graph SVG image
1 parent e425746 commit 64385e5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

htmlify.p6

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,11 @@ multi write-type-source($doc) {
249249
}
250250

251251
if $type {
252-
my $tg-preamble = qq[<h1>Type graph</h1>\n<p>Below you should see
253-
an image showing the type relations for $podname. If not, try the <a
254-
href="/images/type-graph-{uri_escape $podname}.png">PNG
255-
version</a>.</p>];
252+
my $tg-preamble = qq[<h1>Type graph</h1>\n<p>Below you should see a
253+
clickable image showing the type relations for $podname that links
254+
to the documentation pages for the related types. If not, try the
255+
<a href="/images/type-graph-{uri_escape $podname}.png">PNG
256+
version</a> instead.</p>];
256257
$pod.contents.push: Pod::Raw.new(
257258
target => 'html',
258259
contents => $tg-preamble ~ svg-for-file("html/images/type-graph-$podname.svg"),

0 commit comments

Comments
 (0)