Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add reference to docs on doc site #502

Merged
merged 1 commit into from
Jan 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions config/phpvms.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,11 @@
* 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',
],
];
3 changes: 2 additions & 1 deletion resources/views/admin/dashboard/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion resources/views/admin/maintenance/cron.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down