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

JS API #212

Open
jonathanong opened this issue Jul 23, 2014 · 7 comments
Open

JS API #212

jonathanong opened this issue Jul 23, 2014 · 7 comments

Comments

@jonathanong
Copy link

http://lesscss.org/usage/

there's no docs on the JS API. can't build anything with less wityhout it

@lukeapage
Copy link
Member

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

@khrome
Copy link

khrome commented Sep 30, 2014

It's not lacking, it's absent. The old docs had this. Why remove it?

@seven-phases-max
Copy link
Member

@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 ;)

@khrome
Copy link

khrome commented Oct 1, 2014

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.

@matthew-dean matthew-dean mentioned this issue Oct 1, 2014
@christophercliff
Copy link

Are you accepting PRs for this? Is there an appropriate location for it?

@SomMeri
Copy link
Member

SomMeri commented Jan 24, 2015

@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.

@lukeapage
Copy link
Member

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.

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

6 participants