adding files to rdoc

R

Roger Pack

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
 
E

Eric Hodel

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

rdoc --main README README

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

Roger Pack

Eric said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top