docpad / docpad-plugin-sass

Adds support for the SASS and SCSS CSS pre-processors to DocPad. It also supports the Compass framework.
Other
13 stars 6 forks source link

docs #17

Closed geddski closed 7 years ago

geddski commented 11 years ago

I'm new to docpad, trying to use this plugin. The docs don't explain where to actually put your scss files so they'll get picked up. An example of the configuration options would also be helpful.

patocallaghan commented 11 years ago

I had the same issue when starting to use this. You rename your main scss file to have the *.css.scss extension and place your sass files into the documents directory. This directory is kind of unfortunately named as, rather than just being where your webpages live, it is where all dynamic rendering stuff should occur. files is just for static assets which have no preprocessing involved. See #8 for a bit of a discussion on this.