summaryrefslogtreecommitdiff
path: root/rake_tasks
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2012-10-07 03:13:39 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2012-10-07 03:13:39 +0200
commit36e9155f13308236387c535a5bbb95bb188dc8a5 (patch)
tree75ccb0a3bd2c57ea9a6f4340cd633f29bb424cd6 /rake_tasks
parentf3dcecb9b875a816aa10b3e24aee25aa7347fd58 (diff)
downloadcoderay-36e9155f13308236387c535a5bbb95bb188dc8a5.tar.gz
fixing rdoc task
Diffstat (limited to 'rake_tasks')
-rw-r--r--rake_tasks/documentation.rake11
1 files changed, 6 insertions, 5 deletions
diff --git a/rake_tasks/documentation.rake b/rake_tasks/documentation.rake
index 0b7f810..d555022 100644
--- a/rake_tasks/documentation.rake
+++ b/rake_tasks/documentation.rake
@@ -14,12 +14,13 @@ Rake::RDocTask.new :doc do |rd|
rd.main = 'lib/README'
rd.title = 'CodeRay Documentation'
- rd.options << '--line-numbers' << '--inline-source' << '--tab-width' << '2'
- rd.options << '--fmt' << ENV.fetch('format', 'html_coderay')
- require 'pathname'
- template = File.join ROOT, 'rake_helpers', 'coderay_rdoc_template.rb'
- rd.template = Pathname.new(template).expand_path.to_s
+ rd.options << '--line-numbers' << '--tab-width' << '2'
+ # rd.options << '--fmt' << ENV.fetch('format', 'html_coderay')
+ # require 'pathname'
+ # template = File.join ROOT, 'rake_helpers', 'coderay_rdoc_template.rb'
+ # rd.template = Pathname.new(template).expand_path.to_s
+ rd.main = 'README_INDEX.rdoc'
rd.rdoc_files.add 'README_INDEX.rdoc'
rd.rdoc_files.add Dir['lib']
rd.rdoc_dir = 'doc'