Open jonathanong opened 10 years ago
Yes its quite lacking. The options are the same as http://lesscss.org/usage/#using-less-in-the-browser You could also take a look at the source of less.js or grunt-contrib-less
It's not lacking, it's absent. The old docs had this. Why remove it?
@khrome
The old docs had this.
Hmm, where exactly? Everything that was at the old site (e.g. https://github.com/less/old-lesscss.org/blob/master/templates/pages/usage.md) is at the new one too (http://lesscss.org/#using-less, http://lesscss.org/usage/). The only confusing part is that it's now splitted into two parts (the "old" summary and the "new" details, but that's up to a community to improve that ;)
Hmm, you are quite correct. In the past I've seen some docs, It must've been some blog post I stumbled across. If it crosses my path again, I'll point you to it. It really would be handy to have docs on this, though. Reading the source isn't rough, but it does take a lot more time. Thanks for the project and effort, didn't realize the programmatic usage docs were always non-existent.
Are you accepting PRs for this? Is there an appropriate location for it?
@christophercliff yes, we will gladly accept pull request for documentation, thank you in advance :) My first guess would be to put it here, but do not take it as a dogma.
We had a vague plan to document with jsdoc and auto generate but im not sure how viable that is with our project structure. It wouldnt stop us merging any prs though.
http://lesscss.org/usage/
there's no docs on the JS API. can't build anything with less wityhout it