better scss

This commit is contained in:
thomas girod
2024-07-26 15:14:37 +02:00
parent 594776f3a6
commit 424639ea80
10 changed files with 37 additions and 71 deletions

View File

@ -21,7 +21,6 @@
#
#
from pathlib import Path
from django.conf import settings
from django.core.management.base import BaseCommand
@ -33,7 +32,7 @@ class Command(BaseCommand):
help = "Output the fully rendered SYNTAX.md file"
def handle(self, *args, **options):
root_path = Path(settings.BASE_DIR)
root_path = settings.BASE_DIR
with open(root_path / "core/fixtures/SYNTAX.md", "r") as md:
result = markdown(md.read())
print(result, end="")