Skip to content

Commit

Permalink
tasks/doc.rake: standardize the rake doc error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton committed Mar 11, 2024
1 parent db8368f commit d2206cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/doc.rake
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ namespace :doc do
begin
sh "mrbdoc"
rescue
puts "ERROR: To generate YARD documentation, you should install yard-mruby gem."
puts " $ gem install yard-mruby yard-coderay"
puts "ERROR: To generate YARD documentation, you should install the yard-coderay and yard-mruby gems."
puts " $ gem install yard-coderay yard-mruby"
puts "https://yardoc.org/"
puts "https://rubygems.org/gems/yard-mruby"
puts "https://rubygems.org/gems/yard-coderay"
Expand All @@ -22,7 +22,7 @@ namespace :doc do
begin
sh "doxygen Doxyfile"
rescue
puts "ERROR: To generate C API documents, you need Doxygen and Graphviz."
puts "ERROR: To generate C API documentation, you should install Doxygen and Graphviz."
puts "On Debian-based systems:"
puts " $ sudo apt-get install doxygen graphviz"
puts "On RHEL-based systems:"
Expand Down

0 comments on commit d2206cd

Please sign in to comment.