Adding files to rdoc

Wasn’t able to find an answer to this one trivially…

So gemspecs have the ‘rdoc_extra_files’ option to be able to specify
README as their main file [index.html].
How might this be accomplished on the command line? rdoc --help doesn’t
mention extra files.
rdoc --main README results in

Generating HTML…
Could not find main page README

Thanks!
-R

On Jul 24, 2008, at 22:56 PM, Roger P. wrote:

Could not find main page README
rdoc --main README README

should do it, you also have to put the file in the files list.

Eric H. wrote:

On Jul 24, 2008, at 22:56 PM, Roger P. wrote:

Could not find main page README
rdoc --main README README

should do it, you also have to put the file in the files list.

Thank you!
rdoc --main README . README
indeed does the trick.
-R