Documentation help

I’ve had rails create the documentation for my website but im not sure
how to get it up in the browser, im using Webrick at the moment so I
expect it to be dometing like http://localhost:3000/doc/index.rhtml but
that doesn’t work can anyone help me with this?.

You can just open the index.html in the doc/app/ folder. For example,
if you’re on Mac OS X:

cd ~/my_project
open doc/app/index.html

…will pop it open in Safari. Optionally, you could move that folder
into public/ and have it served out of your application.

–Jeremy

On Thu, Mar 20, 2008 at 12:04 PM, Alan Red
[email protected] wrote:

I’ve had rails create the documentation for my website but im not sure
how to get it up in the browser, im using Webrick at the moment so I
expect it to be dometing like http://localhost:3000/doc/index.rhtml but
that doesn’t work can anyone help me with this?.

Posted via http://www.ruby-forum.com/.


http://jeremymcanally.com/
http://entp.com

Read my books:
Ruby in Practice (Ruby in Practice)
My free Ruby e-book (http://humblelittlerubybook.com/)

Or, my blogs:

http://rubyinpractice.com

Alan Red wrote:

I’ve had rails create the documentation for my website but im not sure
how to get it up in the browser, im using Webrick at the moment so I
expect it to be dometing like http://localhost:3000/doc/index.rhtml but
that doesn’t work can anyone help me with this?.

Try…

file://local/path/to/project/doc/index.rhtml


http://www.5valleys.com/

http://www.workingwithrails.com/person/8078