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

The spec should be accompanied by examples which are automatically tested #30

Open
wilzbach opened this issue Jul 24, 2017 · 3 comments

Comments

@wilzbach
Copy link
Contributor

I know that this document is incomplete. Hence, this is just an issue to track progress, s.t. it's not forgotten.

The idea is that maybe the spec is generated from a D file with many unittests.

@quickfur
Copy link

quickfur commented Dec 9, 2017

I am having an extremely frustrating time working with Diet templates because the docs are so incomplete. It wasn't until lots of time spent googling turned up the Jade Template docs that I found a doc that covers the syntax in a reasonably complete way, albeit with the caveat that Diet isn't 100% compatible with Jade, so half the time it plain doesn't work, or produces a 2-page compile error that's barely understandable.

tl;dr: documented, automatically-tested examples would be highly appreciated. Also, more complete coverage of the syntax pretty please.

@wilzbach
Copy link
Contributor Author

wilzbach commented Dec 9, 2017

@quickfur currently the best documentation is the source code itself and the unittest within.

@quickfur
Copy link

quickfur commented Dec 9, 2017

If so, why isn't said unittest part of the doc?!

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