Переглянути джерело

Merge pull request #311 from shalvah/print-correct-docs-path

Print correct docs path in console
Shalvah A 6 роки тому
батько
коміт
cbcb111ab2

+ 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');
     }
 }