jacobrask / styledocco

Automatically generate a style guide from your stylesheets.
http://jacobrask.github.com/styledocco/
MIT License
1.07k stars 119 forks source link

LESS not compiling #114

Closed stinoga closed 10 years ago

stinoga commented 10 years ago

I'm using SD with LESS using the following:

styledocco -n "Name" --preprocessor "/usr/bin/less" webclient/app/less/components

The command runs without error, generating the HTML file, however the inline CSS in the head is not compiled. I still get the less mixins, vars, etc.

Am I doing something incorrectly? I believe I'm pointing to the correct LESS location...

> which less
> /usr/bin/less

Thanks! _Rob

stinoga commented 10 years ago

I also tried running with lessc: "usr/bin/lessc" this doesn't seem to write out the css at all in the head.

stinoga commented 10 years ago

Ok, got this fixed after a less reinstall with npm. Odd, but it worked. I've also got another question, which I can put in another issue if needed. How do you get the inline styles to not be in text/preview mode? I'd like them to be included so my examples are styled correctly.

stinoga commented 10 years ago

Created a separate issue for text/preview: https://github.com/jacobrask/styledocco/issues/115