Hi Eric, On 6/7/2011 8:23 PM, Eric Hodel wrote:
Additionally the documentation types are available through the installer instance passed to the done_installing hook:Gem.done_installing do |installer, specs| if installer.document.include? 'pretend' then puts "Pretending to document: #{specs.map { |spec| spec.full_name }}" end end
I take it that other documentation tools are expected to build plugins in this fashion that perform the appropriate documentation generation. However, In the case of static generation of HTML, it usually only makes sense to have one tool run-- so is there a way for the plugin to cancel the builtin rdoc hooks from running in this case? If so, what would be the recommended way? If not, can such a method be added?
- Loren _______________________________________________ Rubygems-developers mailing list http://rubyforge.org/projects/rubygems [email protected] http://rubyforge.org/mailman/listinfo/rubygems-developers
