jacobrask / styledocco

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

Styledocco with scss not working on windows #121

Open escapedcat opened 10 years ago

escapedcat commented 10 years ago

I have the following setup:

node --version
v0.10.28
styledocco --version
StyleDocco 0.6.6
ruby --version
ruby 2.0.0p481 (2014-05-08) [x64-mingw32]
sass --version
Sass 3.3.7 (Maptastic Maple)

In a folder I have... test-scss.scss:

/* Provides extra visual weight and identifies the primary action in a set of buttons.

    <button class="btn primary">Primary</button> */
.btn.primary {
  background: deeppink;
  color: blue;
  border: 5px solid aqua;
}

When doing styledocco --verbose I get:

spawn ENOENT
styledocco: writing test-scss.scss -> docs\test-scss.html
styledocco: writing C:\my\path\index -> docs\index.html

The result is, that the CSS is not applied in the docs. The same thing works when using .css. Also everything works on Linux.

Love the project by the way! It's a great help!

marrs commented 10 years ago

Everything always works on Linux :p. Thanks for providing such a comprehensive bug report. I'm up to my eyeballs in work for the next couple of weeks, so feel free to pester me here if I haven't done anything by then, as it's possible that I will have forgotten to look into it.

escapedcat commented 10 years ago

haha, no worries. same here. we will force VMs on these last windows devs here... just wanted to mention it in a way.

irunatbullets commented 10 years ago

@marrs Have you had a chance to look into this? We can't for people to use Linux at the company I work at :P

tomsanders commented 10 years ago

Yeah too bad I cant use it for my client

marrs commented 10 years ago

I keep trying to find time for this but it keeps getting bumped down the list. If someone makes a pull request then I promise I'll review and merge it but I'm up to my eyeballs in real life (both professional and personal) until the end of the year and I'm afraid I just can't support this project beyond triage right now.

escapedcat commented 10 years ago

My suggestion would still be to use a Linux VM (i.e. VirtualBox) inside of Windows. A lot of things are getting easier with that anyway (npm, Sass, Compass, bower...).

newtonianb commented 9 years ago

+1 if someone knows how to fix

newtonianb commented 9 years ago

any updates on this?