All Ruby documentation offline with yard
Asked Answered
B

1

8

If I want see documentation on my gems I can do:

yard server --gems

How can I see the documentation of Ruby's standard library?

Beal answered 1/12, 2011 at 19:8 Comment(0)
G
7

You have to

  1. download the Ruby code archive and extract it into a directory,
  2. run yardoc *.c (that will generate the core documentation), 2a. run yardoc . (that will generate the stdlib documentation but will take a lot of time),
  3. run yard server.

(from http://gnuu.org/2010/10/13/local-copies-of-documentation/)

Georgettageorgette answered 27/1, 2012 at 19:40 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.