Forum: Ruby How to generate HTML API doucment for ruby?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C5a54e91a512b0b06e3d940f9c5bcb2f?d=identicon&s=25 Alan (Guest)
on 2007-05-09 17:50
I googled the internet and didn't find any clear instructions I can
follow.

Now the v1.8.6 is out and the place I go for ruby document at
http://www.ruby-doc.org/core/ does not have the updated API for v1.8.6.
I wonder if I can generate the similar document locally with my ruby
installation. Can someone give me a clear instruction on how to generate
it? For example, if my ruby is installed at c:\ruby (Windows platform),
what would be the command to generate the HTML API doc for the core
classes?

Thanks,
97550977337c9f0a0e1a9553e55bfaa0?d=identicon&s=25 Jano Svitok (Guest)
on 2007-05-09 18:37
(Received via mailing list)
On 5/9/07, Alan <laji.inbox@gmail.com> wrote:
>
> Thanks,

1. the docs on the page you mentioned should be 1.8.6 (although the
main page still says 1.8.5)

2. you can generate them easily: go to c:\ruby\src\ruby-x.x.x\ and run
rdoc -o rdoc
(to prevent compliants about 'doc' dir already existing)

run rdoc -h for more tweaking possibilities. It's even possible that
the docs are already generated somewhere...

Jano
Ff9e18f0699bf079f1fc91c8d4506438?d=identicon&s=25 James Britt (Guest)
on 2007-05-09 19:02
(Received via mailing list)
Alan wrote:
> I googled the internet and didn't find any clear instructions I can
> follow.
>
> Now the v1.8.6 is out and the place I go for ruby document at
> http://www.ruby-doc.org/core/ does not have the updated API for v1.8.6.

Why do you say that?

As best I can tell, I have the 1.8.6 source docs served as the default
core API docs.


--
James Britt

"Blanket statements are over-rated"
6d3c187a8b3ef53b08e3e7e8572c4fea?d=identicon&s=25 Jeremy McAnally (Guest)
on 2007-05-09 20:05
(Received via mailing list)
You do but the Rubydoc front page (http://www.ruby-doc.org/) says
1.8.5 is the current release.

--Jeremy

On 5/9/07, James Britt <james.britt@gmail.com> wrote:
> core API docs.
>
>
> --
> James Britt
>
> "Blanket statements are over-rated"
>
>


--
http://www.jeremymcanally.com/

My free Ruby e-book:
http://www.humblelittlerubybook.com/book/

My blogs:
http://www.mrneighborly.com/
http://www.rubyinpractice.com/
C5a54e91a512b0b06e3d940f9c5bcb2f?d=identicon&s=25 Alan Feng (snowbug)
on 2007-05-10 01:37
Thanks for the help, I've successfully generated the html doc locally
with the rDoc tool.

As pointed out, I thought the doc at ruby-doc is still 1.8.5 because its
front page didn't mention anything about 1.8.6. I am not sure how to
verify its version, as the included changelog file with my windows
installation didn't say much about the core API changes from 1.8.5 ->
1.8.6. If there is a page that details this core API change that someone
know, could you please post it here?
This topic is locked and can not be replied to.