Method: Generators::PuppetGenerator#gen_class_index

Defined in:
lib/puppet/util/rdoc/generators/puppet_generator.rb

#gen_class_indexObject

generate the all classes index file and the combo index



237
238
239
240
241
242
243
244
245
246
247
248
# File 'lib/puppet/util/rdoc/generators/puppet_generator.rb', line 237

def gen_class_index
  gen_an_index(@classes, 'All Classes', RDoc::Page::CLASS_INDEX, "fr_class_index.html")
  @allfiles.each do |file|
    next if file['file'].context.file_relative_name =~ /\.rb$/

    gen_composite_index(
      file,
      RDoc::Page::COMBO_INDEX,
      "#{MODULE_DIR}/fr_#{file['file'].context.module_name}.html"
    )
  end
end