Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation #292

Open
ghost opened this issue Dec 31, 2019 · 2 comments
Open

Documentation #292

ghost opened this issue Dec 31, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Dec 31, 2019

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 = ?

@MikeRalphson
Copy link

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.

@epoberezkin
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants