From f4fdbf903ac0788186d5b3a9bfbcf3dc752db7eb Mon Sep 17 00:00:00 2001 From: Tiago Parente <60391792+tiagointerativa@users.noreply.github.com> Date: Tue, 15 Dec 2020 19:40:11 -0300 Subject: [PATCH 1/2] Get description in config --- resources/views/partials/info.blade.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/views/partials/info.blade.php b/resources/views/partials/info.blade.php index 4ac1470e..19dd0f1e 100644 --- a/resources/views/partials/info.blade.php +++ b/resources/views/partials/info.blade.php @@ -1,6 +1,7 @@ # Info -Welcome to the generated API reference. +{{config('apidoc.info_blade', 'Welcome to the generated API reference.')}} + @if($showPostmanCollectionButton) [Get Postman Collection]({{url($outputPath.'/collection.json')}}) -@endif \ No newline at end of file +@endif From 843b34fa4b451f33f67d5fc804ee3bd98edc92a1 Mon Sep 17 00:00:00 2001 From: Tiago Parente <60391792+tiagointerativa@users.noreply.github.com> Date: Tue, 15 Dec 2020 19:42:07 -0300 Subject: [PATCH 2/2] FIX: #770 - Get description in config --- config/apidoc.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config/apidoc.php b/config/apidoc.php index 8ae737be..e49fa21e 100644 --- a/config/apidoc.php +++ b/config/apidoc.php @@ -12,7 +12,12 @@ /* * Static output folder: HTML documentation and assets will be generated in this folder. */ - 'output_folder' => 'public/docs', + 'output_folder' => 'public/docs', + + /** + * Information that will be displayed in the Info menu + */ + 'info_blade' => 'Welcome to the generated API reference.', /* * Settings for `laravel` type output.