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
to no avail.
The documentation is generated under doc/app in your rails project
when you run rake doc:app. As far as I know, the documentation isn’t
by script/server. You probably wouldn’t want it to be anyway, because
could also be served when you deploy and then anyone could view your
documentation and portions of your code whether you intended to release
information or not.
The easiest way to view the generated documentation is to hit file/open
your web browser and then open doc/app/index.html under your rails
One of the things that Arti (arti-ar.cfcl.com) does is to make
the RDoc-generated HTML files available via a separate server.
http://www.cfcl.com/rdm Rich M.
http://www.cfcl.com/rdm/resume [email protected]
http://www.cfcl.com/rdm/weblog +1 650-873-7841
Technical editing and writing, programming, and web development