I didn't check on the rdoc generator, but I think it was contributed by Rob Kaufman if I remember correctly. Nothing will break if you remove the rdoc directory, so feel free to remove it if it gives you problems.<br><br>
you might want to join the google groups mailing list: <a href="http://groups.google.com/group/merb">http://groups.google.com/group/merb</a> since very few people check on the RF mailing list.<br><br>- Matt<br><br><div class="gmail_quote">
On Thu, May 7, 2009 at 7:48 PM, Gernot Hassenpflug <span dir="ltr"><<a href="mailto:aikishugyo@gmail.com">aikishugyo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear all,<br>
<br>
Our company spent a year programming with hardly any documentation. I've<br>
spent the last two weeks adding this in rdoc format to the controller<br>
and various library files. So now I need to generate the actual<br>
documentation. I ran into some trouble:-<br>
<br>
Our app has two branches historically. The older one has apps for which<br>
merb-gen generated an empty 'doc' directory (well, I don't know if it<br>
was completely empty, but it gave me no issues). So I could run rdoc in<br>
the branch root and this generated documentation smoothly in 'doc/rdoc'<br>
no problem. GOOD!<br>
<br>
The newer branch has apps for which merb-gen generated a doc directory<br>
containing 'rdoc' and 'rdoc/generators' where there is a<br>
'merb_generator.rb' file. Now when I try to run rdoc from the branch<br>
root I get an error message telling me to specify the rdoc target<br>
directory to avoid overwriting existing documentation (currently there<br>
isn't any, see below). OOPS!<br>
<br>
So I wonder how can doc/rdoc/generators/merb_generator.rb be used to do<br>
the job instead (which I assume is why it is generated by merb-gen)...<br>
<br>
Reading the source code was interesting but unhelpful for my level of<br>
understanding of merb's structure. I tried to run it with merb -r<br>
without any effect. Also I could not find a single tutorial or<br>
documentation online in the merb site, merbist, or dozens of<br>
merb-related blogs. Hmmm, I think I am missing something so basic<br>
everyone knows it!<br>
<br>
Any help appreciated. Many thanks in advance,<br>
Gernot<br>
<font color="#888888">--<br>
Gernot Hassenpflug<br>
_______________________________________________<br>
Merb-devel mailing list<br>
<a href="mailto:Merb-devel@rubyforge.org">Merb-devel@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/merb-devel" target="_blank">http://rubyforge.org/mailman/listinfo/merb-devel</a><br>
</font></blockquote></div><br>