Kelly Felkins wrote:
> I set up some rake tasks to generate documentation for my rails app.
[...]
> When I do
> 
>  rake --trace gendocs
> 
> It appears the documentation is generated, then deleted, then generated
> again.
> 
> ???
> 
> That's my question -- why does it generate, delete, and then generate it
> again.

I'm getting this:

-------------------------------------------
$ rake gendocs --trace
(in /media/hda5/jim/pgm/ruby/rake/docapi)
** Invoke gendocs (first_time)
** Invoke doc/app/index.html (first_time)
** Invoke doc/README_FOR_APP (first_time, not_needed)
** Invoke doc/REQUIREMENTS (first_time, not_needed)
** Invoke doc/DESIGN (first_time, not_needed)
** Invoke app/code.rb (first_time, not_needed)
** Execute doc/app/index.html
rm doc/app/fr_file_index.html doc/app/fr_class_index.html 
doc/app/fr_method_index.html doc/app/index.html 
doc/app/files/doc/README_FOR_APP.html 
doc/app/files/doc/REQUIREMENTS.html doc/app/files/doc/DESIGN.html 
doc/app/files/app/code_rb.html doc/app/classes/Code.html

                     README_FOR_APP:
                       REQUIREMENTS:
                             DESIGN:
                            code.rb: c
Generating HTML...

Files:   4
Classes: 1
Modules: 0
Methods: 0
Elapsed: 0.079s
** Execute gendocs
-------------------------------------------

It looks ok to me.  Are you getting something different?

--
-- Jim Weirich

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