diff --git a/doc-src/layouts/partials/reference/const_table.haml b/doc-src/layouts/partials/reference/const_table.haml index 2ffd6ca2..dc4f299c 100644 --- a/doc-src/layouts/partials/reference/const_table.haml +++ b/doc-src/layouts/partials/reference/const_table.haml @@ -1,10 +1,11 @@ - constants.each do |constant_def| - const_id = constant_def.name.gsub(/_/,'-') %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 %dt Value - %dd= constant_def.expr.to_sass(:format => :html) + %dd + %code= constant_def.expr.to_sass(:format => :html) - if constant_def.comment %dt Description %dd= format_doc constant_def.comment