rake doc: C API needs both Doxygen and Graphviz
MODIFY
README.md
README.md
@@ -52,7 +52,7 @@ See the [compile.md](doc/guides/compile.md) file for the detail.
## Building documentation
-There are two sets of documentation in mruby: the mruby API (generated by yard) and C API (Doxygen)
+There are two sets of documentation in mruby: the mruby API (generated by yard) and C API (Doxygen and Graphviz)
To build both of them, simply go

MODIFY
tasks/doc.rake
tasks/doc.rake
@@ -19,13 +19,15 @@ namespace :doc do
begin
sh "doxygen Doxyfile"
rescue
- puts "ERROR: To generate C API documents, you need Doxygen."
+ puts "ERROR: To generate C API documents, you need Doxygen and Graphviz."
puts "On Debian-based systems:"
- puts " $ sudo apt-get install doxygen"
+ puts " $ sudo apt-get install doxygen graphviz"
puts "On RHEL-based systems:"
- puts " $ sudo dnf install doxygen"
+ puts " $ sudo dnf install doxygen graphviz"
puts "On macOS-based systems:"
- puts " $ brew install doxygen"
+ puts " $ brew install doxygen graphviz"
+ puts "https://www.doxygen.nl/"
+ puts "https://graphviz.org/"
end
end

rake doc: C API needs both Doxygen and Graphviz

https://www.doxygen.nl/

https://graphviz.org/download/