aboutsummaryrefslogtreecommitdiffstats
path: root/guides/Rakefile
blob: ad4ff91fe68f04bdba5d71971acd0e18fa7becd7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
desc 'Generate guides (for authors), use ONLY=foo to process just "foo.textile"'
task :generate_guides do
  ENV["WARN_BROKEN_LINKS"] = "1" # authors can't disable this
  ruby "rails_guides.rb"
end

# Validate guides -------------------------------------------------------------------------
desc 'Validate guides, use ONLY=foo to process just "foo.html"'
task :validate_guides do
  ruby "w3c_validator.rb"
end