1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Document Sass @-rules.

This commit is contained in:
Nathan Weizenbaum 2008-02-29 16:12:10 -08:00
parent ec4c08716e
commit 7320563032
2 changed files with 34 additions and 1 deletions

1
TODO
View file

@ -6,7 +6,6 @@ Testing:
Documentation:
Haml::Engine public method documentation could use work
!! Document at-rules.
Features:
Sass should throw generic errors for undefined constants, not syntax errors

View file

@ -486,6 +486,40 @@ $LOAD_PATH << dir unless $LOAD_PATH.include?(dir)
# might compile to either,
# depending on whether a file called "foo.sass" existed.
#
# === @font-face, @media, etc.
#
# Sass behaves as you'd expect for normal CSS @-directives.
# For example:
#
# @font-face
# font-family: "Bitstream Vera Sans"
# src: url(http://foo.bar/bvs")
#
# compiles to:
#
# @font-face {
# font-family: "Bitstream Vera Sans";
# src: url(http://foo.bar/bvs"); }
#
# and
#
# @media print
# #sidebar
# display: none
#
# #main
# background-color: white
#
# compiles to:
#
# @media print {
# #sidebar {
# display: none; }
#
# #main {
# background-color: white; }
# }
#
# == Comments
#
# === Silent Comments