jacobrask / styledocco

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

Include multiple files #40

Closed tbleckert closed 12 years ago

tbleckert commented 12 years ago

Hi!

I was just wondering if it's possible to include multiple files? I've tried comma/space separated files and also multiple --include but no luck.

Thanks!

jacobrask commented 12 years ago

Currently not, but after discussions in #35 I've considered other ways to include files. What is your use case? Would it help if all CSS you're documenting would be added to all documentation files?

redonkulus commented 12 years ago

+1, usually when building websites you will have multiple CSS files that contain various base and utility level CSS rules (base for font sizes, icons for icon classes, list for list styles, etc). If you want to use these styles in styledocco, you have to either cat these yourself and reference it in the command or pull in the prod combo'd file. Being able to reference command separate list of files would be nice.

jacobrask commented 12 years ago

In the next version you will be able to include any number of files. For each file you want to include you add a separate --include flag, so it would be

styledocco --include foo.css --include bar.css --include app.js mycss.css
jacobrask commented 12 years ago

v0.5 is now released with this feature. I'd appreciate any further feature suggestions you might have. Thanks.