added more doc comments; extracted convert_path function from command entries

This commit is contained in:
truePhilipp committed 2024-05-07 19:54:42 +02:00
1 parent cf55e8952b
commit d4f53e49d9
16 files changed
+105 -47

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
"""
This package provides tools for converting special attributes in an HTML file to Django template tags.
It includes functions for converting individual files, as well as entire directories of files.
The conversion process involves parsing the HTML files, identifying special attributes,
and replacing them with Django template tags.
The package also includes a command line interface, which allows users to specify a file or directory to convert.
The command line interface supports an optional flag for overwriting the original HTML files
instead of creating new ones.
"""