Permalink
Browse files

[hook] Updated comments in Sass compilation hook.

  • Loading branch information...
1 parent 92151cf commit e623d5ea73c90df299f17ba09cff233e4b893013 @robatron committed Feb 24, 2012
Showing with 10 additions and 9 deletions.
  1. +10 −9 hooks/sass.py
View
@@ -1,22 +1,23 @@
-'''
-Plugin for compiling Sass files -> CSS
-
-Dependencies:
-
- - Ruby
- - Sass (http://sass-lang.com)
-'''
import os
import subprocess
-def compile_css(output_dir):
+def compile_sass(output_dir):
'''
Compile Sass files -> CSS in the output directory.
Any .scss or .sass files found in the output directory will be compiled
to CSS using Sass. The compiled version of the file will be created in the
same directory as the Sass file with the same name and an extension of
.css. For example, foo.scss -> foo.css.
+
+ Hook:
+
+ site.output.post
+
+ Dependencies:
+
+ - Ruby
+ - Sass (http://sass-lang.com)
'''
for root, dirs, files in os.walk(output_dir):
for f in files:

0 comments on commit e623d5e

Please sign in to comment.