Просмотр исходного кода

Print correct docs path to console

shalvah 6 лет назад
Родитель
Сommit
fdf0180599

+ 1 - 1
src/Mpociot/ApiDoc/Commands/GenerateDocumentation.php

@@ -197,7 +197,7 @@ class GenerateDocumentation extends Command
 
         $documentarian->generate($outputPath);
 
-        $this->info('Wrote HTML documentation to: '.$outputPath.'/public/index.html');
+        $this->info('Wrote HTML documentation to: '.$outputPath.'/index.html');
 
         if ($this->option('noPostmanCollection') !== true) {
             $this->info('Generating Postman collection');

+ 1 - 1
src/Mpociot/ApiDoc/Commands/UpdateDocumentation.php

@@ -53,6 +53,6 @@ class UpdateDocumentation extends Command
 
         $documentarian->generate($outputPath);
 
-        $this->info('Wrote HTML documentation to: '.$outputPath.'/public/index.html');
+        $this->info('Wrote HTML documentation to: '.$outputPath.'/index.html');
     }
 }