diff --git a/src/Writing/Writer.php b/src/Writing/Writer.php index 4c03f2f7..5a3d46a8 100644 --- a/src/Writing/Writer.php +++ b/src/Writing/Writer.php @@ -95,7 +95,7 @@ public function writeMarkdownAndSourceFiles(Collection $parsedRoutes) $compareFile = $this->sourceOutputPath . '/source/.compare.md'; $infoText = view('apidoc::partials.info') - ->with('outputPath', 'docs') + ->with('outputPath', $this->config->get('output')) ->with('showPostmanCollectionButton', $this->shouldGeneratePostmanCollection); $settings = ['languages' => $this->config->get('example_languages')];