News for hackers. Stuff that matters.
Re:Montag - python static site generator v0.01 by stevekemp on Monday December 31, 2012 @10:19AM (#4989512)
I'm pleased that it seems understandable.

Templer has two modes of operation:

1. Files are processed/copied from beneath the input tree to the output tree.

2. Files are worked on "in-place".

In the latter case only files that need to be rebuilt are ever touched/modified/updated.

The same applies with the "input/ -> output/" mode of operation, but there is the caveat that I expect people run "make clean", or similar, every now and again. If you didn't, if you just re-ran it every now and again only the things that had changed, or were missing, would be updated.

(Assets are actually copied each time, if you're not running in-place, but we use tar to do it intelligently, so timestamps, etc wouldn't be changed unnecessarily.)

Re:Montag - python static site generator v0.01 by keithpeter on Monday December 31, 2012 @10:25AM (#4989536)
"...if you just re-ran it every now and again only the things that had changed, or were missing, would be updated."

Exactly the behaviour I was hoping for. I've 'cloned' your repository and will proceed to play. Thanks for making this generally available.

Re:Montag - python static site generator v0.01 by stevekemp on Monday December 31, 2012 @10:46AM (#4989598)
As per the other link there are a lot of these systems out there, each with different pros and cons. If you spot bugs or have suggestion please do drop me a mail/raise an issue.