If you run rdoc
from the directory containing your code, it can generate both ri and rdoc documents.
See the output of rdoc --help
, or read through the RDoc site to learn more about the options, but in general you want the --ri-site
flag.
Question
I have some custom RDoc data generated for my app. I want to create custom RI documentation as well, but I can't find the command for this anywhere. What is it?
ri Hash
returns a man page.
ri CustomObject
does not. I want both to return man pages.
La solution
If you run rdoc
from the directory containing your code, it can generate both ri and rdoc documents.
See the output of rdoc --help
, or read through the RDoc site to learn more about the options, but in general you want the --ri-site
flag.