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.

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top