|
@@ -41,7 +41,7 @@ discard block |
|
|
block discarded – undo |
|
41
|
41
|
*/ |
|
42
|
42
|
public function handle(): int |
|
43
|
43
|
{ |
|
44
|
|
- $this->action('Generating documentation site search index', function () { |
|
|
44
|
+ $this->action('Generating documentation site search index', function() { |
|
45
|
45
|
$expected = $this->guesstimateGenerationTime(); |
|
46
|
46
|
if ($expected > 0) { |
|
47
|
47
|
$this->line("<fg=gray> > This will take an estimated $expected seconds. Terminal may seem non-responsive.</>"); |
|
@@ -51,7 +51,7 @@ discard block |
|
|
block discarded – undo |
|
51
|
51
|
}, sprintf('Created <info>%s</info>', GeneratesDocumentationSearchIndexFile::$filePath)); |
|
52
|
52
|
|
|
53
|
53
|
if (config('docs.create_search_page', true)) { |
|
54
|
|
- $this->action('Generating search page', function () { |
|
|
54
|
+ $this->action('Generating search page', function() { |
|
55
|
55
|
$outputDirectory = Hyde::pathToRelative(Hyde::getSiteOutputPath(DocumentationPage::getOutputDirectory())); |
|
56
|
56
|
$this->needsDirectory(Hyde::path($outputDirectory)); |
|
57
|
57
|
file_put_contents( |
Please login to merge, or discard this patch.