A couple documentation fixes. Thanks, Rich Morin.

git-svn-id: svn://hamptoncatlin.com/haml/trunk@625 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
nex3 2007-11-19 03:36:21 +00:00
parent eca1a675a3
commit 4e47fe444b
1 changed files with 11 additions and 11 deletions

View File

@ -25,7 +25,7 @@ $LOAD_PATH << dir unless $LOAD_PATH.include?(dir)
# #
# Haml can be used in two ways: # Haml can be used in two ways:
# as a plugin for Ruby on Rails, # as a plugin for Ruby on Rails,
# and as a standalong Ruby module. # and as a standalone Ruby module.
# #
# Sass can be used in several ways: # Sass can be used in several ways:
# As a template engine for Ruby on Rails or Merb, # As a template engine for Ruby on Rails or Merb,
@ -59,7 +59,7 @@ $LOAD_PATH << dir unless $LOAD_PATH.include?(dir)
# end # end
# end # end
# #
# # file: app/views/movies/index.haml # -# file: app/views/movies/index.haml
# #
# #content # #content
# .title # .title
@ -161,7 +161,7 @@ $LOAD_PATH << dir unless $LOAD_PATH.include?(dir)
# @user = CrazyUser.find(15) # @user = CrazyUser.find(15)
# end # end
# #
# # file: app/views/users/show.haml # -# file: app/views/users/show.haml
# #
# %div[@user] # %div[@user]
# %bar[290]/ # %bar[290]/
@ -366,7 +366,7 @@ $LOAD_PATH << dir unless $LOAD_PATH.include?(dir)
# #
# <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> # <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
# #
# If you're not using the UTF-8 characterset for your document, # If you're not using the UTF-8 character set for your document,
# you can specify which encoding should appear # you can specify which encoding should appear
# in the XML prolog in a similar way. # in the XML prolog in a similar way.
# For example: # For example:
@ -383,16 +383,16 @@ $LOAD_PATH << dir unless $LOAD_PATH.include?(dir)
# wraps all text after it in an HTML comment. # wraps all text after it in an HTML comment.
# For example: # For example:
# #
# %billabong # %peanutbutterjelly
# / This is the billabong element # / This is the peanutbutterjelly element
# I like billabongs! # I like sandwiches!
# #
# is compiled to: # is compiled to:
# #
# <billabong> # <peanutbutterjelly>
# <!-- This is the billabong element --> # <!-- This is the peanutbutterjelly element -->
# I like billabongs! # I like sandwiches!
# </billabong> # </peanutbutterjelly>
# #
# The forward slash can also wrap indented sections of code. For example: # The forward slash can also wrap indented sections of code. For example:
# #