chore: util to manage URLs in the codebase (#1179)

* chore: util to manage URLs in the codebase

* docs: mentiion validate_links and supported_versions in docs

* refactor: fix linter errors
This commit is contained in:
Juro Oravec 2025-05-11 14:59:34 +02:00 committed by GitHub
parent 5f4fbe76e5
commit ccf02fa316
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
67 changed files with 678 additions and 309 deletions

View file

@ -55,9 +55,6 @@ class SimpleComponentNested(Component):
console.log("Hello");
"""
def get_template_data(self, args, kwargs, slots, context):
return {}
class Media:
css = ["style.css", "style2.css"]
js = "script2.js"
@ -78,9 +75,6 @@ class OtherComponent(Component):
console.log("xyz");
"""
def get_template_data(self, args, kwargs, slots, context):
return {}
class Media:
css = "xyz1.css"
js = "xyz1.js"
@ -91,9 +85,6 @@ class SimpleComponentWithSharedDependency(Component):
Variable: <strong>{{ variable }}</strong>
"""
def get_template_data(self, args, kwargs, slots, context):
return {}
class Media:
css = ["style.css", "style2.css"]
js = ["script.js", "script2.js"]