We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7d2b13 commit 3fb2dfeCopy full SHA for 3fb2dfe
htmlify.pl
@@ -118,7 +118,8 @@ (Bool :$debug, Bool :$typegraph = False)
118
write-language-file(:$dr, :$what, :$pod, :$podname);
119
}
120
else {
121
- write-type-file(:$dr, :$what, :$pod, :$podname);
+ say pod-gist($pod[0]) if $*DEBUG;
122
+ write-type-file(:$dr, :$what, :pod($pod[0]), :$podname);
123
124
125
@@ -174,9 +175,6 @@ (Bool :$debug, Bool :$typegraph = False)
174
175
176
177
sub write-type-file(:$dr, :$what, :$pod, :$podname) {
- $pod = $pod[0];
178
- say pod-gist($pod) if $*DEBUG;
179
-
180
my @chunks = chunks-grep($pod.content,
181
:from({ $_ ~~ Pod::Heading and .level == 2}),
182
:to({ $^b ~~ Pod::Heading and $^b.level <= $^a.level}),
0 commit comments