diff options
-rw-r--r-- | railties/Rakefile | 5 | ||||
-rw-r--r-- | railties/doc/guides/html/actioncontroller_basics.html (renamed from railties/doc/guides/html/actioncontroller_basics.html.html) | 0 | ||||
-rw-r--r-- | railties/doc/guides/html/benchmarking_and_profiling.html (renamed from railties/doc/guides/html/benchmarking_and_profiling.html.html) | 0 | ||||
-rw-r--r-- | railties/doc/guides/html/creating_plugins.html (renamed from railties/doc/guides/html/creating_plugins.html.html) | 0 | ||||
-rw-r--r-- | railties/doc/guides/html/migrations.html (renamed from railties/doc/guides/html/migrations.html.html) | 0 |
5 files changed, 4 insertions, 1 deletions
diff --git a/railties/Rakefile b/railties/Rakefile index 32146ced77..4f49409b18 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -278,6 +278,9 @@ task :guides do source = "doc/guides/source/" html = "doc/guides/html/" + FileUtils.rm_r(html) if File.directory?(html) + FileUtils.mkdir(html) + ignore = ['icons', 'images'] ignore << 'active_record_basics.txt' @@ -288,7 +291,7 @@ task :guides do if File.directory?(File.join(source, entry)) input = File.join(source, entry, 'index.txt') - output = File.join(html, "#{entry}.html") + output = File.join(html, entry) else input = File.join(source, entry) output = File.join(html, entry).sub(/\.txt$/, '') diff --git a/railties/doc/guides/html/actioncontroller_basics.html.html b/railties/doc/guides/html/actioncontroller_basics.html index 4df3a7e9b2..4df3a7e9b2 100644 --- a/railties/doc/guides/html/actioncontroller_basics.html.html +++ b/railties/doc/guides/html/actioncontroller_basics.html diff --git a/railties/doc/guides/html/benchmarking_and_profiling.html.html b/railties/doc/guides/html/benchmarking_and_profiling.html index e20197b2f0..e20197b2f0 100644 --- a/railties/doc/guides/html/benchmarking_and_profiling.html.html +++ b/railties/doc/guides/html/benchmarking_and_profiling.html diff --git a/railties/doc/guides/html/creating_plugins.html.html b/railties/doc/guides/html/creating_plugins.html index 7c0419659d..7c0419659d 100644 --- a/railties/doc/guides/html/creating_plugins.html.html +++ b/railties/doc/guides/html/creating_plugins.html diff --git a/railties/doc/guides/html/migrations.html.html b/railties/doc/guides/html/migrations.html index 927cafda99..927cafda99 100644 --- a/railties/doc/guides/html/migrations.html.html +++ b/railties/doc/guides/html/migrations.html |