Commit f377753b authored by takahashim's avatar takahashim

fix `rake doc` error

using mrbdoc
parent 02a6d866
...@@ -139,5 +139,10 @@ end ...@@ -139,5 +139,10 @@ end
desc 'generate document' desc 'generate document'
task :doc do task :doc do
load "#{MRUBY_ROOT}/doc/language/generator.rb" begin
sh "mrbdoc"
rescue
puts "ERROR: To generate documents, you should install yard-mruby gem."
puts " $ gem install yard-mruby"
end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment