spanezz / staticsite

Static site generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please document Features feature

DonKult opened this issue · comments

One of the best features of staticsite is that it has documentation! Sadly the new Features feature isn't really documented apart from being mentioned in NEWS and of course in code.

Would be nice if an example hello-world Feature could be added so a non-native python-speaker has an easier time understanding how to set it up. Figuring out that a FEATURES dict is required and the content thereof wasn't super hard but could really be easier…

(Also, shouldn't staticsite skip modules without a FEATURES attribute given it just crashes later instead of just printing a warning?)

I could reproduce the crash. On it...