Rename README to README.rdoc.

This commit is contained in:
Nathan Weizenbaum 2008-03-13 01:07:07 -07:00
parent 01f5e30174
commit 21451ee6bd
6 changed files with 10 additions and 10 deletions

View File

View File

@ -70,7 +70,7 @@ END
#'
readmes = FileList.new('*') do |list|
list.exclude(/[a-z]/)
list.exclude(/(^|[^.a-z])[a-z]+/)
list.exclude('TODO')
end.to_a
spec.executables = ['haml', 'html2haml', 'sass', 'css2sass']
@ -81,7 +81,7 @@ END
spec.extra_rdoc_files = readmes
spec.rdoc_options += [
'--title', 'Haml',
'--main', 'README',
'--main', 'README.rdoc',
'--exclude', 'lib/haml/buffer.rb',
'--line-numbers',
'--inline-source'
@ -116,7 +116,7 @@ END
rdoc_task = Proc.new do |rdoc|
rdoc.title = 'Haml/Sass'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('README.rdoc')
rdoc.rdoc_files.include('lib/**/*.rb')
rdoc.rdoc_files.exclude('lib/haml/buffer.rb')
rdoc.rdoc_files.exclude('lib/haml/util.rb')

View File

@ -46,11 +46,11 @@ module Haml
# Creates a new instace of Haml::Engine that will compile the given
# template string when <tt>render</tt> is called.
# See README for available options.
# See README.rdoc for available options.
#
#--
# When adding options, remember to add information about them
# to README!
# to README.rdoc!
#++
#
def initialize(template, options = {})

View File

@ -5,12 +5,12 @@ module Haml
class << self
@@options = {}
# Gets various options for Haml. See README for details.
# Gets various options for Haml. See README.rdoc for details.
def options
@@options
end
# Sets various options for Haml. See README for details.
# Sets various options for Haml. See README.rdoc for details.
def options=(value)
@@options = value
end

View File

@ -56,14 +56,14 @@ module Sass
# Creates a new instace of Sass::Engine that will compile the given
# template string when <tt>render</tt> is called.
# See README for available options.
# See README.rdoc for available options.
#
#--
#
# TODO: Add current options to REFRENCE. Remember :filename!
#
# When adding options, remember to add information about them
# to README!
# to README.rdoc!
#++
#
def initialize(template, options={})

View File

@ -21,7 +21,7 @@ module Sass
@@checked_for_updates
end
# Gets various options for Sass. See README for details.
# Gets various options for Sass. See README.rdoc for details.
#--
# TODO: *DOCUMENT OPTIONS*
#++