Forum: Ruby RDoc format

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Brian B. (Guest)
on 2006-02-18 16:48
(Received via mailing list)
Hello all,

One format of RDocs comes with a very useful [ show source ] link for
method.  Example ( ).  Another format of
RDocs we
often see does not provide those links.  Here's an example (  Far less useful.

How can one specify the RDoc format so that, for example, when one runs
gem_server the format of RDocs provided is the former?


Brian B.
David V. (Guest)
on 2006-02-18 17:34
(Received via mailing list)
DÅ?a Sobota 18 Február 2006 15:45 Brian B. napísal:
> Thanks.
> Brian B.

Passing the -S or --inline-source option to RDoc does that. It has to be
when the documentation is generated. The format is actually identical,
the HTML templates and CSS is different, I think.

David V.
This topic is locked and can not be replied to.