Вопрос

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