Skip to content

Commit 06ada66

Browse files
committed
Fixed generated links to Github files
1 parent ae5d229 commit 06ada66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

htmlify.p6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ def p6format(code):
762762
#| render Pod6 properly.
763763
sub doc-source-reference($doc) {
764764
# XXX: it would be nice to have a filename attribute for pod documents
765-
my $pod-filename = $doc.url.split(/\//)[*-1] ~ '.pod';
765+
my $pod-filename = $doc.url.split(/\//)[*-1].subst('::', '/') ~ '.pod';
766766
my $kind = $doc.kind.tclc;
767767
my @doc-source-ref-pod =
768768
pod-block("This documentation was generated from ",

0 commit comments

Comments
 (0)