Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use url attr from pod to determine html filename
Now the C<int> class links correctly to the C<nativeInt> url.  This resolves
GitHub issue #50.
  • Loading branch information
Paul Cochrane committed Feb 23, 2015
1 parent ac99514 commit fb88605
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htmlify.p6
Expand Up @@ -302,7 +302,8 @@ multi write-type-source($doc) {
note "Type $podname not found in type-graph data";
}

spurt "html/$what/$podname.html", p2h($pod, $what);
my $html-filename = "html" ~ $doc.url ~ ".html";
spurt $html-filename, p2h($pod, $what);
}

#| A one-pass-parser for pod headers that define something documentable.
Expand Down

0 comments on commit fb88605

Please sign in to comment.