Dollar signs > exclamation marks.

This commit is contained in:
Chris Eppstein 2010-04-24 22:43:58 -07:00
parent 381b36dde9
commit 070675e48a

View File

@ -1,10 +1,11 @@
- constants.each do |constant_def| - constants.each do |constant_def|
- const_id = constant_def.name.gsub(/_/,'-') - const_id = constant_def.name.gsub(/_/,'-')
%h3.constant{:id=>"const-#{const_id}"} %h3.constant{:id=>"const-#{const_id}"}
%a.permalink{:href => "#const-#{const_id}"}= "!"+constant_def.name %a.permalink{:href => "#const-#{const_id}"}= "$"+constant_def.name
%dl.constant-details.source-documentation %dl.constant-details.source-documentation
%dt Value %dt Value
%dd= constant_def.expr.to_sass(:format => :html) %dd
%code= constant_def.expr.to_sass(:format => :html)
- if constant_def.comment - if constant_def.comment
%dt Description %dt Description
%dd= format_doc constant_def.comment %dd= format_doc constant_def.comment