Permalink
Browse files

small simplification

  • Loading branch information...
1 parent 7dc74d2 commit feb6c9a2e58cc24e79e2086f7901b2cf3a063baf @moritz moritz committed Aug 14, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 htmlify.pl
View
@@ -432,15 +432,14 @@ (Bool :$debug, Bool :$typegraph = False)
say "Writing operator files";
for $dr.lookup('operator', :by<kind>).list -> $doc {
my $what = $doc.subkind;
- my $chunk = $doc.pod;
my $op = $doc.name;
my $pod = pod-with-title(
"$what.tclc() $op operator",
pod-block(
"Documentation for $what $op, extracted from ",
pod-link("the operators language documentation", "/language/operators")
),
- @$chunk
+ @($doc.pod),
);
spurt "html/op/$what/$op.html", p2h($pod);
}

0 comments on commit feb6c9a

Please sign in to comment.