Skip to content

Commit

Permalink
remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Jul 11, 2017
1 parent a24b3fa commit db9bfdb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions htmlify.p6
Expand Up @@ -430,7 +430,6 @@ sub find-references(:$pod!, :$url, :$origin) {
$index-name-attr = qq[index-entry{@indices ?? '-' !! ''}{@indices.join('-')}{$index-text ?? '-' !! ''}$index-text].subst('_', '__', :g).subst(' ', '_', :g).subst('%', '%25', :g).subst('#', '%23', :g);

register-reference(:$pod, :$origin, url => $url ~ '#' ~ $index-name-attr);
# register-reference(:$pod, :$origin, :$url);
}
elsif $pod.?contents {
for $pod.contents -> $sub-pod {
Expand Down Expand Up @@ -817,7 +816,6 @@ sub write-disambiguation-files() {
}
my $html = p2h($pod, 'routine');
spurt "html/{replace-badchars-with-goodnames $name}.html", $html;
# spurt "html/$name.subst(/<[/\\]>/,'_',:g).html", $html;
}
say '';
}
Expand All @@ -836,7 +834,6 @@ sub write-index-files() {
say 'Writing html/programs.html ...';
spurt 'html/programs.html', p2h(pod-with-title(
'Perl 6 Programs Documentation',
#pod-table($*DR.lookup('programs', :by<kind>).sort(*.name).map({[
pod-table($*DR.lookup('programs', :by<kind>).map({[
pod-link(.name, .url),
.summary
Expand Down Expand Up @@ -944,7 +941,6 @@ sub write-kind($kind) {
})
);
print '.';
# spurt "html/$kind/$name.subst(/<[/\\]>/,'_',:g).html", p2h($pod, $kind);
spurt "html/$kind/{replace-badchars-with-goodnames $name}.html", p2h($pod, $kind);
}
say '';
Expand Down

0 comments on commit db9bfdb

Please sign in to comment.