publically accessible fastri

R

Roger Pack

I have been thinking recently that I wish I could access ri data for
core without having to install it myself
like some web service to look up ri information for me. Perhaps a
globally accessible fastri server or what not.

Does anybody know if such a thing exists?
If not would it be a good idea for me to set one up?

Thanks!
-=r
 
J

James Herdman

[Note: parts of this message were removed to make it a legal post.]

If you're just looking for core docs, check out http://www.ruby-doc.org/.
From the sound of it, you want to access documentation via the RI tool via
the web. Why is that? What is the problem you are trying to solve?

James H.
 
R

Roger Pack

James said:
If you're just looking for core docs, check out
http://www.ruby-doc.org/.
From the sound of it, you want to access documentation via the RI tool
via
the web. Why is that? What is the problem you are trying to solve?

Many times the ruby I use does not have ri installed. Plus accessing it
from the command line is slow (main reason for fastri). Yep that's the
problem--I don't want to have to *worry* whether I installed the docs or
not.
Thanks.
-=r
 
E

Eric Hodel

Many times the ruby I use does not have ri installed. Plus
accessing it
from the command line is slow (main reason for fastri). Yep that's
the
problem--I don't want to have to *worry* whether I installed the
docs or

Which RDoc do you have installed? rdoc --version will tell you.
 
R

Roger Pack

Which RDoc do you have installed? rdoc --version will tell you.

$ rdoc --version
RDoc V1.0.1 - 20041108

I suppose newer versions are faster?
[unfortunately it seems that still my ruby installs tend to not include
the docs, hence a public lookup being nice]. I'd even be willing to
submit a patch to ri s.t. it goes to some lookup if you don't install
docs by default, if it would be useful (and acceptable :) )
-=r
 
E

Eric Hodel

Which RDoc do you have installed? rdoc --version will tell you.

$ rdoc --version
RDoc V1.0.1 - 20041108

I suppose newer versions are faster?
[unfortunately it seems that still my ruby installs tend to not
include
the docs, hence a public lookup being nice]. I'd even be willing to
submit a patch to ri s.t. it goes to some lookup if you don't install
docs by default, if it would be useful (and acceptable :) )

You could probably do a plugin for it, there's lots of great ideas out
there but I don't have the time to maintain them all. It's much
easier for me to add hooks in RDoc for a plugin than it is to maintain
the plugin.
 
E

Eric Hodel

Which RDoc do you have installed? rdoc --version will tell you.

$ rdoc --version
RDoc V1.0.1 - 20041108

I suppose newer versions are faster?
[unfortunately it seems that still my ruby installs tend to not
include
the docs, hence a public lookup being nice]. I'd even be willing to
submit a patch to ri s.t. it goes to some lookup if you don't install
docs by default, if it would be useful (and acceptable :) )

RDoc 2 is significantly faster than 1, but I don't think it can match
fastri speeds since it is more conservative in its changes.
 
R

Rick DeNatale

Which RDoc do you have installed? =A0rdoc --version will tell you.

$ rdoc --version
RDoc V1.0.1 - 20041108

I suppose newer versions are faster?
[unfortunately it seems that still my ruby installs tend to not include
the docs, hence a public lookup being nice]. =A0I'd even be willing to
submit a patch to ri s.t. it goes to some lookup if you don't install
docs by default, if it would be useful (and acceptable :) )

RDoc 2 is significantly faster than 1, but I don't think it can match fas= tri
speeds since it is more conservative in its changes.


And unfortunately fastri has not kept up with the changes to rdoc, so
it doesn't work anymore, and Mauricio seems to have abandoned it.

--=20
Rick DeNatale

Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale
 
R

Roger Pack

docs by default, if it would be useful (and acceptable :) )
You could probably do a plugin for it, there's lots of great ideas out
there but I don't have the time to maintain them all. It's much
easier for me to add hooks in RDoc for a plugin than it is to maintain
the plugin.

is ri pluggable?
-=r
 
E

Eric Hodel

is ri pluggable?

ri being part of RDoc, it is possible in theory. I don't know if
anybody has tried to prove this theory.

If it's not, I'll accept patches.
 
T

trans

I have been thinking recently that I wish I could access ri data for
core without having to install it myself
like some web service to look up ri information for me. =A0Perhaps a
globally accessible fastri server or what not.

Does anybody know if such a thing exists?
If not would it be a good idea for me to set one up?

http://webri.tigerops.org/

T.
 
T

trans

That has potential. I suppose I could just extract ri information from
the rdoc pages there or from ruby-doc.org

is the code for that one available?

if you just want the ri data, it is kept in yaml files generated by
rdoc.

try /usr/share/ri/1.8/system/

T.
 

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

No members online now.

Forum statistics

Threads
474,172
Messages
2,570,934
Members
47,474
Latest member
AntoniaDea

Latest Threads

Top