macruby-docs.user.js - A userscript that adds MacRuby/RubyMotion syntax to Apple's Objective-C/Cocoa docs.
JavaScript CoffeeScript Ruby Shell
Switch branches/tags
Nothing to show
Pull request Compare This branch is 5 commits behind joakimk:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
macruby.safariextension
script
spec
tools
.gitignore
.rvmrc
Gemfile
Gemfile.lock
LICENCE
Procfile
README.md
Rakefile
example.png
macruby-docs.user.js
run_specs.html

README.md

Safari Extension download

macruby-docs.user.js - A userscript that adds MacRuby/RubyMotion syntax to Apple's Objective-C/Cocoa docs.

After installing and visiting apple docs (like NSString), you should be able to see "MacRuby" sections like this one within the documenation:

Example

Development instructions

This project uses ruby to get a web server setup for development. You also need to make sure you have node and coffee-script installed.

git clone git@github.com:joakimk/macruby-docs-js.git
cd macruby-docs-js
# [sudo] gem install bundler
bundle
rake

Open run_specs.html to run the specs.

Install the extension using tools/macruby-docs-dev.user.js to use the local development version.