This is a plugin that allows YARD to parse and generate documentation for MRuby sources as well as documenting it's C APIs.
It still has it's rough edges and missing features but you can see a sample from it's current state when executed on MRuby's core here
Install with rubygems
$ gem install yard-mruby
mrbdoc to generate the docs
After checking out the repo, run
bin/setup to install dependencies. Then, run
rake spec to run the tests. You can also run
bin/console for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run
bundle exec rake install.
Bug reports and pull requests are welcome on GitHub at https://github.com/sagmor/yard-mruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.