Generating stdlib documentation

L

lists

Hi,
I just tried 'rdoc ~/ruby/lib -f html -o /tmp/ruby_1.9_stdlib' in an
attempt to generate the stdlib docs for ruby 1.9 (~/ruby is 1.9 from
cvs), but it doesn't appear to have gotten everything (e.g. GServer
documentation is missing although it exists in ~/ruby/lib/
gserver.rb). What is the generally accepted method for generating
the stdlib docs?

Thanks,
Ryan
 
G

Gavin Sinclair

lists said:
Hi,
I just tried 'rdoc ~/ruby/lib -f html -o /tmp/ruby_1.9_stdlib' in an
attempt to generate the stdlib docs for ruby 1.9 (~/ruby is 1.9 from
cvs), but it doesn't appear to have gotten everything (e.g. GServer
documentation is missing although it exists in ~/ruby/lib/
gserver.rb). What is the generally accepted method for generating
the stdlib docs?

Check for .document files: there'll almost certainly be one in
ruby/lib. They list files in be included in an RDoc job. Delete those
files if you want everything.

Gavin
 
L

lists

Check for .document files: there'll almost certainly be one in
ruby/lib. They list files in be included in an RDoc job. Delete
those
files if you want everything.

Gavin

Wahoo, thanks!

-Ryan
 

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

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top