Under windows XP I created a batch file in the depot directory this takes care of generating the application documentation. The default rake appdoc isn''t working under windows right now (remove the -T option). So, where do I point my browser to (so that I can view the new generated application documentation)? Running gem_server didn''t help so far... listing doc.bat rdoc -o doc/app --line-numbers --inline-source --title ''Rails Application Documentation'' doc/README_FOR_APP app/controllers/admin_controller.rb app/controllers/application.rb app/controllers/login_controller.rb app/controllers/store_controller.rb app/helpers/admin_helper.rb app/helpers/application_helper.rb app/helpers/login_helper.rb app/helpers/store_helper.rb app/models/cart.rb app/models/line_item.rb app/models/order.rb app/models/product.rb app/models/user.rb Thanks in advance, Martijn
François Beausoleil
2005-Aug-30 13:09 UTC
Re: Where to point the browser to for appdoc documentation
Hi ! Martijn said the following on 2005-08-29 10:20:> So, where do I point my browser to (so that I can view the new generated > application documentation)? Running gem_server didn''t help so far...start firefox c:\depot\doc\app\index.html Or, type the file location in your browser bar, or navigate using Windows Explorer to the root of the doc folder, and double-click the index.html file, or... You get the point, right :) Bye ! François
Ken Barker
2005-Aug-30 13:10 UTC
Re: Where to point the browser to for appdoc documentation
On 8/29/05, Martijn <m2k2-DLXIdtaQkPzz+pZb47iToQ@public.gmane.org> wrote:> Under windows XP I created a batch file in the depot directory this takes care > of generating the application documentation. The default rake appdoc isn''t > working under windows right now (remove the -T option). > > So, where do I point my browser to (so that I can view the new generated > application documentation)? Running gem_server didn''t help so far...Try hitting the index.html in the doc/app directory. Also, would you be willing to attach your .bat file? I am interested in your solution. I was able to remove the -T, but not able to get the README and the .rbs to be documented at the same time. Another question? Is your .bat file dynamic or have you simply listed the *.rb files one by one at some point in time? Thanks. Ken