refactor: Append utm_source parameter to documentation URL
This commit is contained in:
		@@ -63,6 +63,7 @@ class ServicesGenerate extends Command
 | 
			
		||||
        $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';
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user