Skip to content

Instantly share code, notes, and snippets.

@najamelan
Forked from bds/gist:7837545
Created July 8, 2017 22:41
Show Gist options
  • Save najamelan/3561e46039ca5b91be357f97fbe6739c to your computer and use it in GitHub Desktop.
Save najamelan/3561e46039ca5b91be357f97fbe6739c 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