Softsun2 / lumea

0 stars 0 forks source link

Generate html from only dirty markup files #3

Open Softsun2 opened 8 months ago

Softsun2 commented 8 months ago

When walking markup files only build files that are out of date or "dirty". ~This will require at least a temporary solution for implementing file metadata. Compare file timestamp and metadata timestamp.~

Softsun2 commented 7 months ago

Pseudocode

for all source files
    if source file is younger than meta age
        build html then update source file meta age

Metadata format

Softsun2 commented 7 months ago

source markup -> reader -> filter metadata -> filter substitutions -> writer -> html

where filter metadata wraps whatever general metadata format I decide on into pandoc's metadata data type and filter substitutions replaces occurrences of $metadata-key$ with the metadata value.

Softsun2 commented 5 months ago

These comments are woefully overcomplicated. This problem does not require metadata at all. Though my work to implement metadata will not be used later.