summaryrefslogtreecommitdiff
path: root/rake_tasks/documentation.rake
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2010-01-20 02:04:23 +0000
committermurphy <murphy@rubychan.de>2010-01-20 02:04:23 +0000
commitb628cfc7141885468da144ae09bfe6b27329fca2 (patch)
treebd31bf1bea6a79fa924d045dd1cd5a142de4af4b /rake_tasks/documentation.rake
parentb8e5cb93a3f3877210725b66ddbb707ee605f777 (diff)
downloadcoderay-b628cfc7141885468da144ae09bfe6b27329fca2.tar.gz
Documentation: Don't include protected and private methods, and handle coderay.rb last (fixes some issues).
Diffstat (limited to 'rake_tasks/documentation.rake')
-rw-r--r--rake_tasks/documentation.rake4
1 files changed, 2 insertions, 2 deletions
diff --git a/rake_tasks/documentation.rake b/rake_tasks/documentation.rake
index 01697a7..9a96a02 100644
--- a/rake_tasks/documentation.rake
+++ b/rake_tasks/documentation.rake
@@ -8,12 +8,12 @@ def set_rdoc_info rd
rd.title = "CodeRay Documentation"
rd.options << '--line-numbers' << '--inline-source' << '--tab-width' << '2'
rd.options << '--fmt' << ENV.fetch('format', 'html_coderay')
- rd.options << '--all'
+ # rd.options << '--all'
rd.template = ENV.fetch('template', CODERAY_TEMPLATE)
rd.rdoc_files.add(*EXTRA_FILES.in(ROOT))
- rd.rdoc_files.add(*Dir[File.join(LIB_ROOT, '*.rb')])
rd.rdoc_files.add(*Dir[File.join(LIB_ROOT, 'coderay', '**', '*.rb')])
+ rd.rdoc_files.add(*Dir[File.join(LIB_ROOT, '*.rb')])
end
desc 'Generate documentation for CodeRay'