Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gunn/railsapi-tmbundle

A textmate bundle to display documentation from railsapi.com for the current word. Even better you can point to an offline version.
https://github.com/gunn/railsapi-tmbundle

Last synced: about 1 month ago
JSON representation

A textmate bundle to display documentation from railsapi.com for the current word. Even better you can point to an offline version.

Awesome Lists containing this project

README

        

h1. Overview

Very simple textmate bundle to display railsapi.com documentation for the current word.

Can work with a local offline copy.

h2. Install with Git:


mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
git clone git://github.com/gunn/railsapi-tmbundle.git "RailsAPI.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'

Pressing control-h within a ruby document will now bring up a railsapi page for the current word.

h2. Use offline:


Download desired package from http://railsapi.com/
Add a new shell variable from textmate's preferences - RAILS_API_LOCATION,
set its value to the path of the base railsapi folder.

Enjoy instant rails documentation from textmate!