Skip to content

Instantly share code, notes, and snippets.

@bds
Created December 7, 2013 05:13
Show Gist options
  • Save bds/7837545 to your computer and use it in GitHub Desktop.
Save bds/7837545 to your computer and use it in GitHub Desktop.
Offline Ruby Core and Stdlib Documentation with Yard
# http://devrandom.postr.hu/offline-ruby-core-and-stdlib-documentation-with-yard
$ gem install yard
$ wget ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz
$ tar xzvf ruby-2.0.0-p247.tar.gz
$ cd ruby-2.0.0-p247
$ yardoc *.c
$ yardoc -b .yardoc-stdlib -o doc-stdlib
$ yard server -m ruby-core2.0 .yardoc stdlib .yardoc-stdlib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment