aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2008-10-21 16:38:36 +0100
committerPratik Naik <pratiknaik@gmail.com>2008-10-21 16:38:42 +0100
commitfacff428104da08ce89f6d53f0ba53b362f2a66d (patch)
tree2d7a3535121ff75cf0c99877dd562bc2900013b2
parent5265a8cd40a59ae792da3ed3f2a9648f15ecbd4e (diff)
downloadrails-facff428104da08ce89f6d53f0ba53b362f2a66d.tar.gz
rails-facff428104da08ce89f6d53f0ba53b362f2a66d.tar.bz2
rails-facff428104da08ce89f6d53f0ba53b362f2a66d.zip
Fix that dir.html.html guide name
-rw-r--r--railties/Rakefile5
-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