refactor: Append utm_source parameter to documentation URL
This commit is contained in:
parent
1bd76b0e07
commit
cfe2f889a4
@ -63,6 +63,7 @@ private function process_file($file)
|
||||
$documentation = collect(preg_grep('/^# documentation:/', explode("\n", $content)))->values();
|
||||
if ($documentation->count() > 0) {
|
||||
$documentation = str($documentation[0])->after('# documentation:')->trim()->value();
|
||||
$documentation = str($documentation)->append('?utm_source=coolify.io');
|
||||
} else {
|
||||
$documentation = 'https://coolify.io/docs';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user