I cre开发者_StackOverflow中文版ated the documentation for Python in Texinfo format via help from this question:
How do you get Python documentation in Texinfo Info format?
Now I want the same for Ruby.
Is the Ruby documentation available in Texinfo format?
or
Is there any easy way to create one .info
file containing the documentation for Ruby 1.9.2?
I never needed it myself, but RDoc
seems to have a generator for TexInfo, so you may be able to generate it yourself:
http://ruby-doc.org/ruby-1.9/classes/RDoc.html
http://ruby-doc.org/ruby-1.9/files/lib/rdoc/generator/texinfo_rb.html
There also is an unmaintained project on GitHub:
https://github.com/rdoc/rdoc-texinfo
@Michael - the github project appears to have the same code as what is behind the ruby-doc pages you cite, which is incomplete.
# TODO: create info files and install?
is from http://www.ruby-doc.org/ruby-1.9/classes/RDoc/Generator/TEXINFO.src/M003851.html
精彩评论