olado/doT

Documentation

Opened this issue · 2 comments

Hello,
it looks like no one is working on it anymore but it's very interesting.
I would like to use it but I have no idea how, the documentation is lacking lot of things.
For example the doT.template(...) function takes:
tmpl = template
c = ?
def = ?

From the docs site linked in the readme:

function(tmpl, c, def)

tmpl - template text

c - custom compilation settings, if null, doT.templateSettings is used

def - data for compile time evaluation, see advanced sample.

Part of the documentation is in the website, I agree it’s best to merge.