blob: 35887bfaa3f6f85105a6925a4d5973b7ade99c69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# yard-mruby
[](https://rubygems.org/gems/yard-mruby)
[](https://travis-ci.org/sagmor/yard-mruby)
This is a plugin that allows YARD to parse and generate documentation for MRuby sources.
It handles the different C API
## Usage
Install with rubygems
$ gem install yard-mruby
Configure your project's `.yardopts`
```
--plugin mruby
mrblib/**/*.rb
src/**/*.c
```
And execute `yardoc` to generate the docs
## Development
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`.
## Contributing
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](http://contributor-covenant.org) code of conduct.
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|