From 9f17c636bb322eaceabd3b4e5a13d730acd622f4 Mon Sep 17 00:00:00 2001 From: Seba Gamboa Date: Wed, 23 Sep 2015 16:29:46 -0300 Subject: Updated README --- README.md | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index eda0269..69cd521 100644 --- a/README.md +++ b/README.md @@ -1,38 +1,36 @@ -# Yard::Mruby +# yard-mruby + +This is a plugin that allows YARD to parse and generate documentation for MRuby sources. +It handles the different C API Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/yard/mruby`. To experiment with that code, run `bin/console` for an interactive prompt. TODO: Delete this and the text above, and describe your gem -## Installation - -Add this line to your application's Gemfile: - -```ruby -gem 'yard-mruby' -``` - -And then execute: - - $ bundle +## Usage -Or install it yourself as: +Install with rubygems $ gem install yard-mruby -## Usage +Configure your project's `.yardopts` + +``` +--plugin mruby +mrblib/**/*.rb +src/**/*.c +``` -TODO: Write usage instructions here +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`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org). +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/[USERNAME]/yard-mruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct. +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 -- cgit v1.2.3