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
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