All Ruby documentation offline with yard
Вопрос
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?
Решение
You have to
- download the Ruby code archive and extract it into a directory,
- run
yardoc *.c
(that will generate the core documentation), 2a. runyardoc .
(that will generate the stdlib documentation but will take a lot of time), - run
yard server
.
(from http://gnuu.org/2010/10/13/local-copies-of-documentation/)
Не связан с StackOverflow