aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--railties/CHANGELOG2
-rw-r--r--railties/lib/tasks/documentation.rake1
2 files changed, 3 insertions, 0 deletions
diff --git a/railties/CHANGELOG b/railties/CHANGELOG
index d23b73582b..c86607fe21 100644
--- a/railties/CHANGELOG
+++ b/railties/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Added lib/ to the directories that will get application docs generated [DHH]
+
* Add observer generator. Closes #5167. [francois.beausoleil@gmail.com]
* Session migration generator obeys pluralize_table_names. #5145 [james.adam@gmail.com]
diff --git a/railties/lib/tasks/documentation.rake b/railties/lib/tasks/documentation.rake
index 2e5e773141..35db0239fe 100644
--- a/railties/lib/tasks/documentation.rake
+++ b/railties/lib/tasks/documentation.rake
@@ -6,6 +6,7 @@ namespace :doc do
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('doc/README_FOR_APP')
rdoc.rdoc_files.include('app/**/*.rb')
+ rdoc.rdoc_files.include('lib/**/*.rb')
}
desc "Generate documentation for the Rails framework"