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.

Était-ce utile?

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top