MyGemDocs

This is a ugly little script that generates an html index file for any installed gems that already have rdocs generated. Typically I’d do something like this…

gem rdoc --all
mygemdocs > $HOME/.mygemdocs.html
firefox $HOME/.mygemdocs.html

Then bookmark the paged.

Installation

This ugly little script is available as a gem from git hub.

$ gem sources -a http://gems.github.com/ (you only need to do this once ever)
$ [sudo] gem install mgreenly-mygemdocs

TODO

It should be turned into a real application that builds an rdoc index of all locally installed ruby resources, the core library, standard library and gem library.

It should also be smart enough not to regenerate documentation that’s up to date.