G''Day- Noob question: I''m currently working through the examples in Agile Development With Rails. On page 182, the book shows you how to generate documentation for your application using RDoc. I''ve done that successfully, but the problem I''m having is that I can''t seem to view the documentation. Is there a command to run? I''ve tried pointing a browser to http://localhost:3000/doc/app/index.html to no avail. Any ideas? Thanks, <b> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hello, The documentation is generated under doc/app in your rails project folder when you run rake doc:app. As far as I know, the documentation isn''t served by script/server. You probably wouldn''t want it to be anyway, because it could also be served when you deploy and then anyone could view your documentation and portions of your code whether you intended to release that information or not. The easiest way to view the generated documentation is to hit file/open in your web browser and then open doc/app/index.html under your rails project folder. -Dan On 9/5/07, bezerker <mysteread-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > G''Day- > > Noob question: > > I''m currently working through the examples in Agile Development With > Rails. On page 182, the book shows you how to generate documentation > for your application using RDoc. > > I''ve done that successfully, but the problem I''m having is that I > can''t seem to view the documentation. > > Is there a command to run? > > I''ve tried pointing a browser to http://localhost:3000/doc/app/index.html > to no avail. > > Any ideas? > > Thanks, > > <b> > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
One of the things that Arti (arti-ar.cfcl.com) does is to make the RDoc-generated HTML files available via a separate server. -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm-go8te9J4rpw@public.gmane.org http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---