# File lib/yard/generators/full_doc_generator.rb, line 56
      def generate_index(all_objects)
        if format == :html && serializer
          ns = all_objects.select {|o| o.type == :module || o.type == :class }
          all_namespaces = { 
            :objects => ns.sort_by {|o| o.path },
            :root => all_objects.find {|o| o.type == :root && (!o.meths.empty? || !o.constants.empty?) }
          }
          all_methods = { :objects => methods_to_show(all_objects) }
          
          serializer.serialize 'index.html', render(:index)
          serializer.serialize 'all-files.html', render(:all_files)
          serializer.serialize 'all-namespaces.html', render(:all_namespaces, all_namespaces)
          serializer.serialize 'all-methods.html', render(:all_methods, all_methods)
        end
        true
      end