diff --git a/README.rdoc b/README.rdoc index 7716e782e..0d8d64011 100644 --- a/README.rdoc +++ b/README.rdoc @@ -76,7 +76,7 @@ Type "rake --help" for all available options. * {Rake command-line}[link:doc/command_line_usage.rdoc] * {Writing Rakefiles}[link:doc/rakefile.rdoc] -* The original {Rake announcement}[link:doc/rational.rdoc] +* The original {Rake announcement}[link:doc/rationale.rdoc] * Rake {glossary}[link:doc/glossary.rdoc] === Presentations and Articles about Rake diff --git a/Rakefile b/Rakefile index d778df5ff..7a6ef334a 100644 --- a/Rakefile +++ b/Rakefile @@ -29,4 +29,8 @@ RDoc::Task.new do |doc| doc.rdoc_dir = "_site" # for github pages end +task :rdoc do + sh %{cp doc/_html/*.html _site/doc/.} +end + task default: :test diff --git a/doc/_html/rational.html b/doc/_html/rational.html new file mode 100644 index 000000000..1170005bb --- /dev/null +++ b/doc/_html/rational.html @@ -0,0 +1,7 @@ + + + + +Redirecting to rationale + + diff --git a/doc/rational.rdoc b/doc/rationale.rdoc similarity index 100% rename from doc/rational.rdoc rename to doc/rationale.rdoc diff --git a/rake.gemspec b/rake.gemspec index 49cec19a9..be01280bc 100644 --- a/rake.gemspec +++ b/rake.gemspec @@ -45,7 +45,7 @@ Gem::Specification.new do |s| "doc/proto_rake.rdoc", "doc/rake.1", "doc/rakefile.rdoc", - "doc/rational.rdoc", + "doc/rationale.rdoc", "exe/rake", "lib/rake.rb", "lib/rake/application.rb",