Skip to content

Commit ef336b9

Browse files
committed
make search a required step
1 parent f6586e2 commit ef336b9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

htmlify.p6

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ sub MAIN(
147147
Bool :$typegraph = False,
148148
Int :$sparse,
149149
Bool :$disambiguation = True,
150-
Bool :$search-file = True,
151150
Bool :$no-highlight = False,
152151
Int :$parallel = 1,
153152
) {
@@ -197,15 +196,15 @@ sub MAIN(
197196
}
198197

199198
write-disambiguation-files if $disambiguation;
200-
write-search-file if $search-file;
199+
write-search-file;
201200
write-index-files;
202201

203202
for (set(<routine syntax>) (&) set($*DR.get-kinds)).keys -> $kind {
204203
write-kind $kind;
205204
}
206205

207206
say 'Processing complete.';
208-
if $sparse || !$search-file || !$disambiguation {
207+
if $sparse || !$disambiguation {
209208
say "This is a sparse or incomplete run. DO NOT SYNC WITH doc.perl6.org!";
210209
}
211210

0 commit comments

Comments
 (0)