Skip to content

Commit 9f249d8

Browse files
committed
make search a required step
1 parent a273db0 commit 9f249d8

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
@@ -152,7 +152,6 @@ sub MAIN(
152152
Bool :$typegraph = False,
153153
Int :$sparse,
154154
Bool :$disambiguation = True,
155-
Bool :$search-file = True,
156155
Bool :$no-highlight = False,
157156
Int :$parallel = 1,
158157
) {
@@ -202,15 +201,15 @@ sub MAIN(
202201
}
203202

204203
write-disambiguation-files if $disambiguation;
205-
write-search-file if $search-file;
204+
write-search-file;
206205
write-index-files;
207206

208207
for (set(<routine syntax>) (&) set($*DR.get-kinds)).keys -> $kind {
209208
write-kind $kind;
210209
}
211210

212211
say 'Processing complete.';
213-
if $sparse || !$search-file || !$disambiguation {
212+
if $sparse || !$disambiguation {
214213
say "This is a sparse or incomplete run. DO NOT SYNC WITH doc.perl6.org!";
215214
}
216215

0 commit comments

Comments
 (0)