[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

rdoc frame placement?

djberg96

10/26/2004 9:51:00 PM

Hi all,

Is there a command line option to place the HTML frames that rdoc
generates on the left side of the page instead of the top? Or would I
have to use a template of some sort?

If it requires a template, could someone please kindly paste one here?
I have no idea how to write one.

Regards,

Dan

PS - I may have asked this before a long time ago, but I couldn't find
it on a search, so my apologies in advance if that's the case.
1 Answer

Jamis Buck

10/26/2004 10:06:00 PM

0

Daniel Berger wrote:
> Hi all,
>
> Is there a command line option to place the HTML frames that rdoc
> generates on the left side of the page instead of the top? Or would I
> have to use a template of some sort?

In general, you have to use a template specifically made to output the
frames how you want them. (I'm sure a template could be made that output
both styles, but I don't know if rdoc supports an option to specify that
or not.)

>
> If it requires a template, could someone please kindly paste one here?
> I have no idea how to write one.

The rdoc template I use to generate the documentation for my projects
(http://copland.rubyfor..., http://needle.rubyfor...,
http://sqlite-ruby.rub..., etc.) is available online, at:

http://ruby.jamisbuck.or...

Just save that file in the rdoc/generators/template/html subdirectory of
your ruby library directory, and then specificy --template=jamis to use
it. (Assuming you _want_ to use it, of course. ;))

- Jamis

--
Jamis Buck
jgb3@email.byu.edu
http://www.jamisbuck...