Method: YARD::Templates::Engine.generate

Defined in:
lib/yard/templates/engine.rb

.generate(objects, options = {}) ⇒ void

This method returns an undefined value.

Passes a set of objects to the :fulldoc template for full documentation generation. This is called by CLI::Yardoc to most commonly perform HTML documentation generation.

Parameters:



101
102
103
104
105
106
# File 'lib/yard/templates/engine.rb', line 101

def generate(objects, options = {})
  options = set_default_options(options)
  options.objects = objects
  options.object = Registry.root
  template(options.template, :fulldoc, options.format).run(options)
end