[#8815] Segfault in libc strlen, via rb_str_new2 — "Sean E. Russell" <ser@...>

Howdy,

12 messages 2006/09/09
[#8817] Re: Segfault in libc strlen, via rb_str_new2 — Eric Hodel <drbrain@...7.net> 2006/09/09

On Sep 8, 2006, at 10:10 PM, Sean E. Russell wrote:

Re: Getting docs out of README.EXT

From: Eric Hodel <drbrain@...7.net>
Date: 2006-09-18 19:02:16 UTC
List: ruby-core #8894
On Sep 18, 2006, at 7:54 AM, Hugh Sasse wrote:

> I've been trying to find the easiest way to get README.EXT into
> html, and finally found that the best way was to use RDoc.  This
> patch is against 1.9.  It seems to work OK, but there's a couple of
> issues.
>
> REAME.EXT is picked up, but nothing from it appears in the ri docs,
> and to be honest, I don't know how I should locate it if it did.

It would need to be attached to a class or module somewhere.   
The :include: directive handles this.  Look at RDoc's ri for an  
example.  I don't know where to attach it, though.

> A `grep -ri README .` in the ri directory turns up nothing.  This also
> shows that at present we have no make target for HTML docs, which is
> probably where this sort of thing should naturally live.  I was
> hoping that with a bit of extra markup we could make this README.EXT
> very browser friendly, with a table of contents, for example.  At
> the moment I've not added in anything along those lines, and it
> would seem pointless till we have an HTML target.  I'm not sure what
> to do about adding an HTML target, because that necessitates having
> a sensible place for the HTML, and declaring it up front, and there
> will be no useful sensible place for it that is applicable to all
> users of ruby.

ri is stored in /usr/local/share/ri/<ver>
rdoc could be stored in /usr/local/share/rdoc/<ver>

> Does anyone have any suggestions as a good way to make this [more]
> useful?

-- 
Eric Hodel - drbrain@segment7.net - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com



In This Thread

Prev Next