mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-12 05:36:02 +00:00
Doc for scss
This commit is contained in:
1 parent
200af57971
commit
e59d769dac
4 files changed
+15
-2
No files matched your search
@@ -34,6 +34,11 @@ from core.scss.storage import ScssFileStorage, find_file
|
||||
|
||||
|
||||
class ScssProcessor(object):
|
||||
"""
|
||||
If DEBUG mode enabled : compile the scss file
|
||||
Else : give the path of the corresponding css supposed to already be compiled
|
||||
Don't forget to use compilestatics to compile scss for production
|
||||
"""
|
||||
prefix = iri_to_uri(getattr(settings, 'STATIC_URL', '/static/'))
|
||||
storage = ScssFileStorage()
|
||||
scss_extensions = [".scss"]
|
||||
|
||||
Reference in new issue
Block a user