[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

adding files to rdoc

Roger Pack

7/25/2008 5:56:00 AM

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
--
Posted via http://www.ruby-....

4 Answers

Eric Hodel

7/25/2008 6:13:00 PM

0

On Jul 24, 2008, at 22:56 PM, Roger Pack wrote:
> 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.

Roger Pack

7/25/2008 7:17:00 PM

0

Eric Hodel wrote:
> On Jul 24, 2008, at 22:56 PM, Roger Pack 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
--
Posted via http://www.ruby-....

NEMO

9/9/2013 7:18:00 AM

0


Hey, arsehole Heinrich, the arsehole A Moose in Love is back in jail for selling crack cocaine & heroin to school children ... He's doing 3 to 5 years in the Kingston Pen... & being butt - fucked!

Just Swabian garbage...........
















The Peeler

9/9/2013 11:01:00 AM

0

On Mon, 9 Sep 2013 00:17:59 -0700 (PDT), NEMO wrote:

> Hey, arsehole Heinrich, the arsehole A Moose in Love is back in jail for selling crack cocaine & heroin to school children ... He's doing 3 to 5 years in the Kingston Pen... & being butt - fucked!
>
> Just Swabian garbage...........

He'll probably post one or two posts from the library any time he is on
parole. LOL