From 381b36dde98660e2a7ca06cf8956a1c1239c9d62 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sat, 24 Apr 2010 22:43:10 -0700 Subject: [PATCH] fix a bug in the doc generator introduced in the conversion to scss. --- doc-src/tasks/generators.thor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc-src/tasks/generators.thor b/doc-src/tasks/generators.thor index 1d692cf7..114dadfd 100644 --- a/doc-src/tasks/generators.thor +++ b/doc-src/tasks/generators.thor @@ -59,7 +59,7 @@ class Generate < Thor stylesheet = dereference(stylesheet) identifier = "reference/#{stylesheet[:framework]}/#{stylesheet[:stylesheet]}" identifier.gsub!(%r{/_},'/') - identifier.gsub!(/\.sass/,'') + identifier.gsub!(/\.s[ac]ss/,'') identifier.gsub!(%r{/#{stylesheet[:framework]}/#{stylesheet[:framework]}/},"/#{stylesheet[:framework]}/") module_name = File.basename(identifier).gsub(/\.[^.]+$/,'').capitalize