Add reference to docs on doc site (#502)

This commit is contained in:
Nabeel S 2020-01-16 09:49:28 -05:00 committed by GitHub
parent b7b0ac0a73
commit fa01c61677
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 2 deletions

View File

@ -99,4 +99,11 @@ return [
* RFC 7807 type, which can be used as a machine-readable error code/map
*/
'error_root' => 'https://phpvms.net/errors',
/**
* The links to various docs on the documentation site
*/
'docs' => [
'cron' => 'http://docs.phpvms.net/configuration/cron',
],
];

View File

@ -5,7 +5,8 @@
@if($cron_problem_exists)
<div class="alert alert-danger" role="alert">
There was a problem running the cron; make sure it's setup and check logs at
<span class="text-monospace bg-gradient-dark">storage/logs/cron.log</span>
<span class="text-monospace bg-gradient-dark">storage/logs/cron.log</span>.
<a href="{{ config('phpvms.docs.cron') }}" target="_blank">See the docs</a>
</div>
@endif

View File

@ -14,7 +14,8 @@
@if($cron_problem_exists)
<div class="alert alert-danger" role="alert">
There was a problem running the cron; make sure it's setup and check logs at
<span class="text-monospace bg-gradient-dark">storage/logs/cron.log</span>
<span class="text-monospace bg-gradient-dark">storage/logs/cron.log</span>.
<a href="{{ config('phpvms.docs.cron') }}" target="_blank">See the docs</a>
</div>
@endif
</div>