feat: add issue_templates for creation of icons (#935)

Co-authored-by: Dashboard Icons Bot <homarr-labs@proton.me>
This commit is contained in:
Meier Lukas
2025-02-15 15:59:12 +01:00
committed by GitHub
parent 02aaf9bb7f
commit d1e008be5f
56 changed files with 18527 additions and 44 deletions

7
scripts/common.py Normal file
View File

@@ -0,0 +1,7 @@
import re
def convert_to_kebab_case(name: str) -> str:
"""Convert a filename to kebab-case."""
cleaned = re.sub(r'[^a-zA-Z0-9\s-]', '', name)
kebab_case_name = re.sub(r'[\s_]+', '-', cleaned).lower()
return kebab_case_name