|
@@ -37,7 +37,7 @@ discard block |
|
|
block discarded – undo |
|
37
|
37
|
*/ |
|
38
|
38
|
public function handle(): int |
|
39
|
39
|
{ |
|
40
|
|
- $this->action('Generating documentation site search index', function () { |
|
|
40
|
+ $this->action('Generating documentation site search index', function() { |
|
41
|
41
|
$expected = $this->guesstimateGenerationTime(); |
|
42
|
42
|
if ($expected > 0) { |
|
43
|
43
|
$this->line("<fg=gray> > This will take an estimated $expected seconds. Terminal may seem non-responsive.</>"); |
|
@@ -47,7 +47,7 @@ discard block |
|
|
block discarded – undo |
|
47
|
47
|
}, sprintf('Created <info>%s</info>', GeneratesDocumentationSearchIndexFile::$filePath)); |
|
48
|
48
|
|
|
49
|
49
|
if (config('docs.create_search_page', true)) { |
|
50
|
|
- $this->action('Generating search page', function () { |
|
|
50
|
+ $this->action('Generating search page', function() { |
|
51
|
51
|
file_put_contents( |
|
52
|
52
|
Hyde::path(sprintf( |
|
53
|
53
|
'_site/%s/search.html', |
Please login to merge, or discard this patch.