jacobrask / styledocco

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

Error in resulted files when using the --preprocessor option on stylus files #25

Open victornswd opened 12 years ago

victornswd commented 12 years ago

Whenever I use styledocco with the --preprocessor option on a folder of stylus files i get [90mcompiled[0m /path/to/file.css inside of the <style></style> tag, instead of the processed css. I tried without using the --preprocessor option, and it works, but then my @imports are not found. Plus, I need to pass the --preprocessor option because I want to move the resulted CSS files into another folder.

Any suggestions on why this is happening?

medeeiros commented 11 years ago

Sorry for the resurrection. But try to use -p flag with Stylus to print your css instead of generating a file:

styledocco -n "title of your project" --preprocessor "stylus -p"